projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f47d8c
)
perf/x86: Remove old MSR perf tracing code
author
Andi Kleen
<
[email protected]
>
Wed, 2 Dec 2015 01:01:00 +0000
(17:01 -0800)
committer
Ingo Molnar
<
[email protected]
>
Sun, 6 Dec 2015 11:56:14 +0000
(12:56 +0100)
Now that we have generic MSR trace points we can remove the old
hackish perf MSR read tracing code.
Signed-off-by: Andi Kleen <
[email protected]
>
Signed-off-by: Peter Zijlstra (Intel) <
[email protected]
>
Cc: Arnaldo Carvalho de Melo <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Linus Torvalds <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Cc: Thomas Gleixner <
[email protected]
>
Cc: Vince Weaver <
[email protected]
>
Cc:
[email protected]
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/cpu/perf_event.h
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/cpu/perf_event.h
b/arch/x86/kernel/cpu/perf_event.h
index a7ab350bce98d9668cdfa23bcf575fc9583cf907..799e6bd58cc14d3feb709642cfa3214eaba536e3 100644
(file)
--- a/
arch/x86/kernel/cpu/perf_event.h
+++ b/
arch/x86/kernel/cpu/perf_event.h
@@
-14,17
+14,7
@@
#include <linux/perf_event.h>
-#if 0
-#undef wrmsrl
-#define wrmsrl(msr, val) \
-do { \
- unsigned int _msr = (msr); \
- u64 _val = (val); \
- trace_printk("wrmsrl(%x, %Lx)\n", (unsigned int)(_msr), \
- (unsigned long long)(_val)); \
- native_write_msr((_msr), (u32)(_val), (u32)(_val >> 32)); \
-} while (0)
-#endif
+/* To enable MSR tracing please use the generic trace points. */
/*
* | NHM/WSM | SNB |