]> git.baikalelectronics.ru Git - kernel.git/commit
perf intel-pt: Add a helper function for processing AUXTRACE_INFO
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 23 Sep 2016 14:38:44 +0000 (17:38 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 29 Sep 2016 14:17:04 +0000 (11:17 -0300)
commit2caecd5e8c0912bf80360ab64c198424142104b1
treed0145c17f71f206bb39b60a7477f026d5de0c4bd
parente0bc80fd19379318e072a4235295847164bd3998
perf intel-pt: Add a helper function for processing AUXTRACE_INFO

Add a helper function 'intel_pt_has()' to make it easier to determine
which members the AUXTRACE_INFO event contains.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Masami Hiramatsu <mhiramat@kernel.org>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: http://lkml.kernel.org/r/1474641528-18776-13-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c