Andi Kleen a7b58d211b perf/x86/intel/lbr: Allow time stamp for free running PEBSv3
With PEBSv3 the PEBS record contains a time stamp. That means we can allow
free-running PEBS without a PMI even if the user program requested a time stamp.
This avoids the need to use -T to get free running PEBS, and also avoids
any problems with mis-identifying MMAPs later.

Move the free_running_flags state into a variable in x86_pmu and use it.
This only works when no explicit clock_id is set.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@kernel.org
Cc: eranian@google.com
Cc: jolsa@redhat.com
Cc: kan.liang@intel.com
Link: http://lkml.kernel.org/r/1432786398-23861-2-git-send-email-andi@firstfloor.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-08-04 10:16:56 +02:00
..
2014-06-04 16:53:57 -07:00
2015-05-05 20:48:02 +02:00
2014-12-13 12:42:51 -08:00
2014-10-17 13:40:51 -07:00
2015-05-10 12:34:27 +02:00
2015-05-10 12:34:27 +02:00
2015-04-08 09:01:54 +02:00
2014-01-03 14:37:13 +00:00
2015-04-24 15:36:55 +02:00
2015-07-17 12:50:11 +02:00
2015-05-05 20:48:02 +02:00
2015-05-15 16:04:49 +02:00
2014-10-17 13:40:52 -07:00