diff options
author | 2015-02-19 23:31:13 +0900 | |
---|---|---|
committer | 2015-02-26 11:59:05 -0300 | |
commit | 9aaf5a5f479bd68699f2e6f6e5e5f1253377b6da (patch) | |
tree | 548ac87f0586060af74996e73332dcf3350b541a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | perf trace: Fix SIGBUS failures due to misaligned accesses (diff) | |
download | wireguard-linux-9aaf5a5f479bd68699f2e6f6e5e5f1253377b6da.tar.xz wireguard-linux-9aaf5a5f479bd68699f2e6f6e5e5f1253377b6da.zip |
perf probe: Check kprobes blacklist when adding new events
Recent linux kernel provides a blacklist of the functions which can not
be probed. perf probe can now check this blacklist before setting new
events and indicate better error message for users.
Without this patch,
----
# perf probe --add vmalloc_fault
Added new event:
Failed to write event: Invalid argument
Error: Failed to add events.
----
With this patch
----
# perf probe --add vmalloc_fault
Added new event:
Warning: Skipped probing on blacklisted function: vmalloc_fault
----
Reported-by: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20150219143113.14434.5387.stgit@localhost.localdomain
Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions