OSDN Git Service

perf evsel: Display 0x for hex values when printing the attribute
authorAdrian Hunter <adrian.hunter@intel.com>
Thu, 11 Jun 2015 12:51:04 +0000 (15:51 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 11 Jun 2015 13:56:01 +0000 (10:56 -0300)
commit7310aed77ef2928bcfb8ee5ad71e2b091166b85e
treebcd03113f31fe1e256d448feb244e7f0d14ca2a6
parent5610032135c05e7bf9cba231826577a01719d010
perf evsel: Display 0x for hex values when printing the attribute

Need to display '0x' prefix for hex values otherwise it is not obvious
they are hex.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1434027064-7554-1-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c