diff options
author | Andi Kleen <[email protected]> | 2015-11-30 09:48:42 -0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-12-06 12:55:53 +0100 |
commit | da008ee72cabdee0ee98d3a3580ca5cfb8d2d1f1 (patch) | |
tree | e5033eb74c824be54254347f2dcde30add767cbd /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 0017960f38a2470e70d9f1991228e2b55b2abe0c (diff) |
perf/x86/intel: Fix __initconst declaration in the RAPL perf driver
Fix a definition in the perf rapl driver. __initconst must
be applied to a const object, but to declare a const pointer
you need to use * const ..., not const ... *
This fixes a section attribute conflict with LTO builds.
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]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions