]> git.karo-electronics.de Git - linux-beck.git/commit
perf tools: Add perf_pmu__format_bits()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 17 Jul 2015 16:33:49 +0000 (19:33 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 6 Aug 2015 19:49:01 +0000 (16:49 -0300)
commit09ff607176ab2bf7e038150100fdf9290a6fbe47
tree17952463c0ecb6ef8377cd99d0f7d91592b43392
parent8bd1b2d2578ca2688969352ed1f8a0a8f10dbb63
perf tools: Add perf_pmu__format_bits()

Add perf_pmu__format_bits() to get the format bits for a PMU config
term.  Intel PT will use this to validate terms and to record format
bits to enable later interpreting the config from the attribute stored
in the perf.data file.

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