aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorValdis KlÄ“tnieks <[email protected]>2019-08-08 17:44:02 +0000
committerIngo Molnar <[email protected]>2019-09-03 07:22:32 +0000
commitd9f3b450f206332b7ef3d78b5a85b6c20ad00fd2 (patch)
treee0cb33ba7a349fee9765d5cfcdebd7d54914f762 /tools/perf/scripts/python
parentx86, perf: Fix the dependency of the x86 insn decoder selftest (diff)
downloadkernel-d9f3b450f206332b7ef3d78b5a85b6c20ad00fd2.tar.gz
kernel-d9f3b450f206332b7ef3d78b5a85b6c20ad00fd2.zip
perf/x86: Make more stuff static
When building with C=2, sparse makes note of a number of things: arch/x86/events/intel/rapl.c:637:30: warning: symbol 'rapl_attr_update' was not declared. Should it be static? arch/x86/events/intel/cstate.c:449:30: warning: symbol 'core_attr_update' was not declared. Should it be static? arch/x86/events/intel/cstate.c:457:30: warning: symbol 'pkg_attr_update' was not declared. Should it be static? arch/x86/events/msr.c:170:30: warning: symbol 'attr_update' was not declared. Should it be static? arch/x86/events/intel/lbr.c:276:1: warning: symbol 'lbr_from_quirk_key' was not declared. Should it be static? And they can all indeed be static. Signed-off-by: Valdis Kletnieks <[email protected]> Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Arnaldo Carvalho de Melo <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: https://lkml.kernel.org/r/128059.1565286242@turing-police Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions