Skip to content

RFC perf pmu interface

Peter Zijlstra lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest8 patches 23 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8perf, x86: Fix Nehalem PMU quirkarch/x86/kernel/cpu/perf_event_intel.c+1 -10 replies
2/8perf: deconstify struct pmuarch/arm/kernel/perf_event.c arch/powerpc/kernel/perf_event.c arch/powerpc/kernel/perf_event_fsl_emb.c +5 more+38 -380 replies
3/8perf: register pmu implementationsarch/arm/kernel/perf_event.c arch/powerpc/kernel/perf_event.c arch/powerpc/kernel/perf_event_fsl_emb.c +6 more+432 -3957 replies
4/8perf: Unindent labelskernel/perf_event.c+24 -192 replies
5/8perf: Reduce perf_disable() usagearch/powerpc/kernel/perf_event.c arch/powerpc/kernel/perf_event_fsl_emb.c arch/sparc/kernel/perf_event.c +3 more+37 -561 reply
6/8perf: Per PMU disablearch/arm/kernel/perf_event.c arch/powerpc/kernel/perf_event.c arch/powerpc/kernel/perf_event_fsl_emb.c +5 more+98 -806 replies
7/8perf: Default PMU opskernel/perf_event.c+35 -100 replies
8/8perf: Rework the PMU methodsarch/sh/kernel/perf_event.c arch/x86/kernel/cpu/perf_event.c include/linux/perf_event.h +3 more+236 -1434 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC][PATCH 0/8] perf pmu interface

These patches prepare the perf code for multiple pmus (no user interface yet, Lin Ming is working on that). These patches remove all weak functions and rework the struct pmu interface.

The latter is inspired by the work Frederic is doing to to filter out IRQ contexts.

These patches are very prelimenary, they haven't seen a compiler yet and the last patch still needs sparc,ppc and arm converted.

But they patches seem to be in a good enough shape to see what people think..

comments?