aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorMasami Hiramatsu <[email protected]>2015-02-19 23:31:13 +0900
committerArnaldo Carvalho de Melo <[email protected]>2015-02-26 11:59:05 -0300
commit9aaf5a5f479bd68699f2e6f6e5e5f1253377b6da (patch)
tree548ac87f0586060af74996e73332dcf3350b541a /net/unix/sysctl_net_unix.c
parent55d43bcafe78b6da33f8a49be68ef168f3cbfec9 (diff)
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 <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Masami Hiramatsu <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions