[PATCH v1 0/2] perf trace: Enhance task filtering and remove an unused function

Howard Chu posted 2 patches 8 months, 2 weeks ago
tools/perf/builtin-trace.c                    | 52 ++++++++++++++++---
.../bpf_skel/augmented_raw_syscalls.bpf.c     | 35 ++++++++++---
tools/perf/util/evlist.c                      | 14 +----
tools/perf/util/evlist.h                      |  1 -
4 files changed, 73 insertions(+), 29 deletions(-)
[PATCH v1 0/2] perf trace: Enhance task filtering and remove an unused function
Posted by Howard Chu 8 months, 2 weeks ago
Task filtering is flawed on perf trace. Spawned threads can't get
augmented, and the BPF program collects more data than it needs. This
patch series adds a pids_targeted BPF map to better filter the tasks,
and makes the bpf-output event '__augmented_syscalls__' system-wide. It
also removes evlist__has_bpf_output() that's no longer useful.

Howard Chu (2):
  perf trace: Enhance task filtering
  perf evlist: Remove evlist__has_bpf_output()

 tools/perf/builtin-trace.c                    | 52 ++++++++++++++++---
 .../bpf_skel/augmented_raw_syscalls.bpf.c     | 35 ++++++++++---
 tools/perf/util/evlist.c                      | 14 +----
 tools/perf/util/evlist.h                      |  1 -
 4 files changed, 73 insertions(+), 29 deletions(-)

-- 
2.45.2