diff options
author | Ben Dooks (Codethink) <[email protected]> | 2019-11-06 13:25:27 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-11-13 08:16:44 +0100 |
commit | d00dbd29814236ad128ff9517e8f7af6b6ef4ba0 (patch) | |
tree | 8df63d47c74ce7c6b461fb4279a8302cfd91559a /tools/perf/util/trace-event-scripting.c | |
parent | 697d877849d4b34ab58d7078d6930bad0ef6fc66 (diff) |
perf/core: Fix missing static inline on perf_cgroup_switch()
It looks like a "static inline" has been missed in front
of the empty definition of perf_cgroup_switch() under
certain configurations.
Fixes the following sparse warning:
kernel/events/core.c:1035:1: warning: symbol 'perf_cgroup_switch' was not declared. Should it be static?
Signed-off-by: Ben Dooks (Codethink) <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: Arnaldo Carvalho de Melo <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Stephane Eranian <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Vince Weaver <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions