summaryrefslogtreecommitdiffstats
path: root/tools/vm
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@kernel.org>2017-12-08 17:26:46 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-12-27 16:15:53 +0100
commit9f5c6d8777a2d962b0eeacb2a16f37da6bea545b (patch)
treec75cebcf13521d31208e38de61d8171b336352f2 /tools/vm
parentperf env: Adopt perf_env__arch() from the annotate code (diff)
downloadlinux-9f5c6d8777a2d962b0eeacb2a16f37da6bea545b.tar.xz
linux-9f5c6d8777a2d962b0eeacb2a16f37da6bea545b.zip
perf probe: Add warning message if there is unexpected event name
This improve the error message so that user can know event-name error before writing new events to kprobe-events interface. E.g. ====== #./perf probe -x /lib64/libc-2.25.so malloc_get_state* Internal error: "malloc_get_state@GLIBC_2" is an invalid event name. Error: Failed to add events. ====== Reported-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org> Acked-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com> Reviewed-by: Thomas Richter <tmricht@linux.vnet.ibm.com> Tested-by: Arnaldo Carvalho de Melo <acme@redhat.com> Cc: Paul Clarke <pc@us.ibm.com> Cc: bhargavb <bhargavaramudu@gmail.com> Cc: linux-rt-users@vger.kernel.org Link: http://lkml.kernel.org/r/151275040665.24652.5188568529237584489.stgit@devbox Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions