]> git.baikalelectronics.ru Git - kernel.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)
commit279e58605395929b64e5f561b5fb51278cda661d
tree17952463c0ecb6ef8377cd99d0f7d91592b43392
parent113290eb406c02d26eedda18b41b8962ceb88fc3
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