ftrace: kprobe: uprobe: Show u8/u16/u32/u64 types in decimal
authorMasami Hiramatsu <mhiramat@kernel.org>
Thu, 18 Aug 2016 08:59:21 +0000 (17:59 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 23 Aug 2016 20:06:38 +0000 (17:06 -0300)
commitbdca79c2bf40556b664c9b1c32aec103e9bdb4a9
tree4795bda9e3982ce991d4d6f774f4f17b7e482f1b
parent9880ce4a69ba5c66a5ffdd711fe446bd0226bd8c
ftrace: kprobe: uprobe: Show u8/u16/u32/u64 types in decimal

Change kprobe/uprobe-tracer to show the arguments type-casted
with u8/u16/u32/u64 in decimal digits instead of hexadecimal.

To minimize compatibility issue, the arguments without type
casting are typed by x64 (or x32 for 32bit arch) by default.

Note: all arguments set by old perf probe without types are
shown in decimal by default.

Signed-off-by: Masami Hiramatsu <mhiramat@kernel.org>
Acked-by: Steven Rostedt <rostedt@goodmis.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: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/r/147151076135.12957.14684546093034343894.stgit@devbox
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Documentation/trace/kprobetrace.txt
Documentation/trace/uprobetracer.txt
kernel/trace/trace_probe.c
kernel/trace/trace_probe.h
tools/perf/Documentation/perf-probe.txt