summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorKyle Huey <me@kylehuey.com>2024-04-12 04:50:18 +0300
committerIngo Molnar <mingo@kernel.org>2024-04-12 12:49:50 +0300
commitc4fcc7d1f41532e878087c7c43f4cf247604d68b (patch)
tree42d5d279844896a20d768199e71ca22cb84671a5 /tools/perf/scripts/python/export-to-postgresql.py
parent76f6d58845829e5d6ef55532e67a323e7d30c26e (diff)
downloadlinux-c4fcc7d1f41532e878087c7c43f4cf247604d68b.tar.xz
perf/bpf: Allow a BPF program to suppress all sample side effects
Returning zero from a BPF program attached to a perf event already suppresses any data output. Return early from __perf_event_overflow() in this case so it will also suppress event_limit accounting, SIGTRAP generation, and F_ASYNC signalling. Signed-off-by: Kyle Huey <khuey@kylehuey.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Acked-by: Song Liu <song@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Namhyung Kim <namhyung@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/r/20240412015019.7060-7-khuey@kylehuey.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions