diff options
| author | Song Liu <[email protected]> | 2021-04-25 21:43:32 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2021-04-29 13:30:58 +0000 |
| commit | 01bd8efcec444468db0275bbd71b49927f7e1544 (patch) | |
| tree | b31081a17badba1492cac6b7ff8ec33a0a595c58 /tools/perf/builtin-annotate.c | |
| parent | perf stat: Introduce config stat.bpf-counter-events (diff) | |
| download | kernel-01bd8efcec444468db0275bbd71b49927f7e1544.tar.gz kernel-01bd8efcec444468db0275bbd71b49927f7e1544.zip | |
perf stat: Introduce ':b' modifier
Introduce 'b' modifier to event parser, which means use BPF program to
manage this event. This is the same as --bpf-counters option, but only
applies to this event. For example,
perf stat -e cycles:b,cs # use bpf for cycles, but not cs
perf stat -e cycles,cs --bpf-counters # use bpf for both cycles and cs
Suggested-by: Jiri Olsa <[email protected]>
Signed-off-by: Song Liu <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Song Liu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
0 files changed, 0 insertions, 0 deletions
