perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing
authorAlexander Shishkin <alexander.shishkin@linux.intel.com>
Fri, 27 Jan 2017 15:16:43 +0000 (17:16 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 1 Feb 2017 10:09:54 +0000 (11:09 +0100)
commit5443624bedd0d23e112d5f2a919435182875bce9
treedce938a11709449a67173cf1a15867a63d1f0b88
parent612f0c0b859ee99f800dc88ad470d938d90ad111
perf/x86/intel/pt: Add format strings for PTWRITE and power event tracing

Commit:

  8ee83b2ab3 ("perf/x86/intel/pt: Add support for PTWRITE and power event tracing")

forgot to add format strings to the PT driver. So one could enable these features
by setting corresponding bits in the event config, but not by their mnemonic names.

This patch adds the format strings.

Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Vince Weaver <vincent.weaver@maine.edu>
Cc: vince@deater.net
Fixes: 8ee83b2ab3 ("perf/x86/intel/pt: Add support for PTWRITE...")
Link: http://lkml.kernel.org/r/20170127151644.8585-2-alexander.shishkin@linux.intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/events/intel/pt.c