OSDN Git Service

perf/core: Make local function perf_pmu_snapshot_aux() static
authorHaocheng Xie <xiehaocheng.cn@gmail.com>
Thu, 27 May 2021 03:19:45 +0000 (11:19 +0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 27 May 2021 07:35:21 +0000 (09:35 +0200)
commit32961aecf9da85c9e4c98d91ab8337424e0c8372
tree53102967964590a349f3ebbf97a2b98b31953322
parent10337e95e04c9bcd15d9bf5b26f194c92c13da56
perf/core: Make local function perf_pmu_snapshot_aux() static

Fixes the following W=1 kernel build warning:

  kernel/events/core.c:6670:6: warning: no previous prototype for 'perf_pmu_snapshot_aux' [-Wmissing-prototypes]

Signed-off-by: Haocheng Xie <xiehaocheng.cn@gmail.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210527031947.1801-2-xiehaocheng.cn@gmail.com
kernel/events/core.c