diff options
author | Stefan Hajnoczi <[email protected]> | 2012-05-23 11:36:42 +0900 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2012-05-24 11:29:25 -0300 |
commit | 00b9da7219cd027a1c51c3ef576aadbbd9fe38fe (patch) | |
tree | 14a930c7e1f76c085bf9e1f894bfd17e190ba912 /tools/perf/scripts/python | |
parent | e76df19bd986656e3c9f4a62e3dd15e7d69b607a (diff) |
tools lib traceevent: 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.
Cc: Avi Kivity <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Steven Rostedt <[email protected]>
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions