perf session: Change header.misc dump from decimal to hex
authorDon Zickus <[email protected]>
Wed, 26 Feb 2014 03:43:46 +0000 (22:43 -0500)
committerArnaldo Carvalho de Melo <[email protected]>
Fri, 14 Mar 2014 21:08:39 +0000 (18:08 -0300)
commit0ea590ae8198547d5898c72b04fa9d8f23bd0b8f
treed770d5ac869b64a3d7ba07823d1e52a41a9abf4a
parent2f6d9009af1df0f7cba1fdfe012a089babd8c747
perf session: Change header.misc dump from decimal to hex

When printing the raw dump of a data file, the header.misc is
printed as a decimal.  Unfortunately, that field is a bit mask, so
it is hard to interpret as a decimal.

Print in hex, so the user can easily see what bits are set and more
importantly what type of info it is conveying.

V2: add 0x in front per Jiri Olsa

Signed-off-by: Don Zickus <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
tools/perf/util/session.c