]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
perf probe: Add supported for type casting by the running kernel
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 18 Aug 2016 08:58:31 +0000 (17:58 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 20:03:31 +0000 (17:03 -0300)
commit180b20616ce57e93eb692170c793be94c456b1e2
tree379495dd19057572bdaa69db4f44594d4fbe50b9
parent864256255597aad86abcecbe6c53da8852ded15b
perf probe: Add supported for type casting by the running kernel

Add a checking routine what types are supported by the running kernel by
finding the pattern in <debugfs>/tracing/README.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Hemant Kumar <hemant@linux.vnet.ibm.com>
Cc: Naohiro Aota <naohiro.aota@hgst.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/147151071172.12957.3340095690753291085.stgit@devbox
[ 'enum probe_type' has no negative entries, so ends up as 'unsigned', remove '< 0'
   test to fix the build on at least centos:5, debian:7 & ubuntu:12.04.5 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-file.c
tools/perf/util/probe-file.h
tools/perf/util/probe-finder.c