mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
tools lib traceevent: Print value of unknown symbolic fields
Aligns trace-cmd with the behavior of the kernel. Signed-off-by: Jan Kiszka <[email protected]> Acked-by: Namhyung Kim <[email protected]> Cc: Andrew Morton <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Steven Rostedt <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
This commit is contained in:
parent
3df76c9a81
commit
d63444739b
1 changed files with 2 additions and 0 deletions
|
|
@ -3985,6 +3985,8 @@ static void print_str_arg(struct trace_seq *s, void *data, int size,
|
|||
break;
|
||||
}
|
||||
}
|
||||
if (!flag)
|
||||
trace_seq_printf(s, "0x%llx", val);
|
||||
break;
|
||||
case PRINT_HEX:
|
||||
case PRINT_HEX_STR:
|
||||
|
|
|
|||
Loading…
Reference in a new issue