aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIan Rogers <[email protected]>2024-05-24 13:52:26 -0700
committerNamhyung Kim <[email protected]>2024-05-30 10:05:57 -0700
commitd92aa899fe0a66350303a1986d6dc7ec4b3a1ea7 (patch)
treea57346e02167583943c079105dfa62e3c33d7fb9 /tools/perf/scripts/python/export-to-postgresql.py
parent63b9cbd7941aa9ec5cb61567042176c4ce04b020 (diff)
perf bpf filter: Add uid and gid terms
Allow the BPF filter to use the uid and gid terms determined by the bpf_get_current_uid_gid BPF helper. For example, the following will record the cpu-clock event system wide discarding samples that don't belong to the current user. $ perf record -e cpu-clock --filter "uid == $(id -u)" -a sleep 0.1 Signed-off-by: Ian Rogers <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: John Fastabend <[email protected]> Cc: Changbin Du <[email protected]> Cc: Yang Jihong <[email protected]> Cc: Andrii Nakryiko <[email protected]> Cc: [email protected] Signed-off-by: Namhyung Kim <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions