perf/x86: Implement 64-bit counter support for IBS
authorRobert Richter <robert.richter@amd.com>
Thu, 15 Dec 2011 16:56:39 +0000 (17:56 +0100)
committerIngo Molnar <mingo@elte.hu>
Thu, 8 Mar 2012 10:35:22 +0000 (11:35 +0100)
commitdb98c5faf8cb350212ea3af786cb3ba0d4e7a01e
treededbbe76714b416b5e6d62d30b8488a9c0f6c1c2
parent4db2e8e6500d9ba6406f2714fa3968b39a325274
perf/x86: Implement 64-bit counter support for IBS

This patch implements 64 bit counter support for IBS. The
sampling period is no longer limited to the hw counter width.

The functions perf_event_set_period() and
perf_event_try_update() can be used as generic functions. They
can replace similar code that is duplicate across architectures.

Signed-off-by: Robert Richter <robert.richter@amd.com>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1323968199-9326-5-git-send-email-robert.richter@amd.com
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/include/asm/perf_event.h
arch/x86/kernel/cpu/perf_event_amd_ibs.c
This page took 0.02579 seconds and 5 git commands to generate.