diff options
author | Yan, Zheng | 2015-05-06 21:33:51 +0200 |
---|---|---|
committer | Ingo Molnar | 2015-06-07 16:08:54 +0200 |
commit | 9c964efa4330a58520783effe9847f15126fef1f (patch) | |
tree | ce0ab6b36e279c9038806fc4bd05d6cd3cf46af1 /fs/compat_ioctl.c | |
parent | perf/x86/intel: Implement batched PEBS interrupt handling (large PEBS interru... (diff) | |
download | kernel-qcow2-linux-9c964efa4330a58520783effe9847f15126fef1f.tar.gz kernel-qcow2-linux-9c964efa4330a58520783effe9847f15126fef1f.tar.xz kernel-qcow2-linux-9c964efa4330a58520783effe9847f15126fef1f.zip |
perf/x86/intel: Drain the PEBS buffer during context switches
Flush the PEBS buffer during context switches if PEBS interrupt threshold
is larger than one. This allows perf to supply TID for sample outputs.
Signed-off-by: Yan, Zheng <zheng.z.yan@intel.com>
Signed-off-by: Kan Liang <kan.liang@intel.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: acme@infradead.org
Cc: eranian@google.com
Link: http://lkml.kernel.org/r/1430940834-8964-6-git-send-email-kan.liang@intel.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'fs/compat_ioctl.c')
0 files changed, 0 insertions, 0 deletions