summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-08-13 10:13:22 +0200
committerIngo Molnar <mingo@elte.hu>2009-08-13 10:13:22 +0200
commit28402971d869e26271b25301011f667d3a5640c3 (patch)
tree39fe9451f609c3ad47382595c61db855ee5dc49d /include
parent8f7a0dc51674ad0dd06155291b0aed60d655943c (diff)
downloadlinux-3.10-28402971d869e26271b25301011f667d3a5640c3.tar.gz
linux-3.10-28402971d869e26271b25301011f667d3a5640c3.tar.bz2
linux-3.10-28402971d869e26271b25301011f667d3a5640c3.zip
perf_counter: Provide hw_perf_counter_setup_online() APIs
Provide weak aliases for hw_perf_counter_setup_online(). This is used by the BTS patches (for v2.6.32), but it interacts with fixes so propagate this upstream. (it has no effect as of yet) Also export perf_counter_output() to architecture code. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index a9d823a93fe..2b36afe6ae0 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -694,6 +694,8 @@ struct perf_sample_data {
extern int perf_counter_overflow(struct perf_counter *counter, int nmi,
struct perf_sample_data *data);
+extern void perf_counter_output(struct perf_counter *counter, int nmi,
+ struct perf_sample_data *data);
/*
* Return 1 for a software counter, 0 for a hardware counter