Skip to content

Commit eb4d27c

Browse files
captain5050acmel
authored andcommitted
perf docs: Document bpf event modifier
Document that 'b' is used as a modifier to make an event use a BPF counter. Fixes: 01bd8ef ("perf stat: Introduce ':b' modifier") Signed-off-by: Ian Rogers <irogers@google.com> Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Athira Rajeev <atrajeev@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Kan Liang <kan.liang@linux.intel.com> Cc: Mark Rutland <mark.rutland@arm.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Ravi Bangoria <ravi.bangoria@amd.com> Cc: Song Liu <song@kernel.org> Cc: Thomas Richter <tmricht@linux.ibm.com> Link: https://lore.kernel.org/r/20240416170014.985191-1-irogers@google.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 6b718ac commit eb4d27c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/perf/Documentation/perf-list.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ counted. The following modifiers exist:
7171
D - pin the event to the PMU
7272
W - group is weak and will fallback to non-group if not schedulable,
7373
e - group or event are exclusive and do not share the PMU
74+
b - use BPF aggregration (see perf stat --bpf-counters)
7475

7576
The 'p' modifier can be used for specifying how precise the instruction
7677
address should be. The 'p' modifier can be specified multiple times:

0 commit comments

Comments
 (0)