perf probe: Use hexadecimal type by default if possible
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 18 Aug 2016 08:59:07 +0000 (17:59 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 20:06:37 +0000 (17:06 -0300)
commit9880ce4a69ba5c66a5ffdd711fe446bd0226bd8c
tree635d0175d2a33149930e2c001f67245f46509efb
parent925437872525ee229736a9a8bdf804fc98f75b44
perf probe: Use hexadecimal type by default if possible

Use hexadecimal type by default if it is available on current running
kernel.

This keeps the default behavior of perf probe after changing the output
format of 'u8/16/32/64' to unsigned decimal number.

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/147151074685.12957.16415861010796255514.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/probe-finder.c