diff options
author | Stefan Hajnoczi <[email protected]> | 2011-09-04 16:08:59 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-02-17 16:34:08 -0200 |
commit | a5a178e1ae0192e405830f1bba84548992124e88 (patch) | |
tree | 0befc4ea59e523ba47d0f1b4ca2732bef64072e9 /net/lapb/lapb_timer.c | |
parent | 09bda4432a8a4d4db2b2b94697abc8d732a9ff73 (diff) |
perf tools: Allow expressions in __print_symbolic() fields
The __print_symbolic() function takes a sequence of key-value pairs for
pretty-printing a constant. The new kvm:kvm_exit print fmt uses the
expression:
__print_symbolic(..., { 0x040 + 1, "DB excp" }, ...)
Currently only atoms are supported and this print fmt fails to parse.
This patch adds support for expressions instead of just atoms so that
0x040 + 1 is parsed successfully. Also add arg_num_eval() support for
the '+' operator.
Acked-by: Steven Rostedt <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions