perf/core: make perf_pmu_snapshot_aux static
Subsystems (4)
PATCH 1/1 perf/core: make perf_pmu_snapshot_aux static
Fix the following sparse warning:
kernel/events/core.c:6539:6: warning: symbol 'perf_pmu_snapshot_aux' was not declared. Should it be static?
Reported-by Abaci Robot <[email protected]>
Signed-off-by Jiapeng Chong <[email protected]>
--- kernel/events/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/events/core.c +1 -1
@@ -6521,7 +6521,7 @@ static unsigned long perf_prepare_sample_aux(struct perf_event *event,return data->aux_size; } -long perf_pmu_snapshot_aux (struct perf_buffer *rb, +static long perf_pmu_snapshot_aux (struct perf_buffer *rb,struct perf_event *event,struct perf_output_handle *handle,unsigned long size)
Signature · 1 line
1.8.3.1