Skip to content

Move poll into perf_event and allow for wakeups when fd has not been mmap'd. This is useful when using read() to read out the current counter value.

[email protected] lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Move poll into perf_event and allow for wakeups when fd has not been mmap'd. This is useful when using read() to read out the current counter value.include/linux/perf_event.h kernel/perf_event.c+16 -160 replies
2/6Allow min/max thresholds for wakeupsinclude/linux/perf_event.h kernel/perf_event.c+27 -60 replies
3/6Add handlers for adding counter events, reading counter events, counter resets, wakeups. Renamed old read handler to update.arch/x86/kernel/cpu/perf_event.c include/linux/perf_event.h kernel/perf_event.c+94 -380 replies
4/6Fix HW breakpoint handlersarch/x86/include/asm/hw_breakpoint.h arch/x86/kernel/hw_breakpoint.c kernel/hw_breakpoint.c+3 -30 replies
5/6Allow decrementing countersinclude/linux/perf_event.h kernel/perf_event.c+11 -110 replies
6/6Add PERF_COUNT_SW_RUNNABLE_TASKSinclude/linux/perf_event.h include/linux/sched.h kernel/perf_event.c +1 more+178 -270 replies

Reviews trailers per patch

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

Read the v1 thread