Skip to content

perf_events and hw_breakpoints fix and cleanup

Matt Helsley containers lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw breakpoints: Fix pid namespace bugkernel/hw_breakpoint.c+2 -10 replies
2/3perf events: Split out task search into helperkernel/perf_event.c+40 -230 replies
3/3perf events: Cleanup pid passingarch/arm/oprofile/common.c include/linux/perf_event.h kernel/hw_breakpoint.c +2 more+17 -170 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] perf_events and hw_breakpoints fix and cleanup

Fixes a bug in the way that hardward breakpoints pass around [v]pids.

The last two patches move the pid resolution closer to the syscall and avoid passing pids entirely so that the perf event code does not need to worry about being in the wrong pid namespace when kernel counters are created.

NOTE: Applies to -tip perf/core. Compile-tested only at the moment.