]> git.itanic.dy.fi Git - linux-stable/blobdiff - tools/perf/util/bpf_skel/bperf_cgroup.bpf.c
perf stat: Fix BPF program section name
[linux-stable] / tools / perf / util / bpf_skel / bperf_cgroup.bpf.c
index 292c430768b525afdde468eca9b6ecea40955517..c72f8ad96f75191b9c017207d675cd25a39ca23d 100644 (file)
@@ -176,7 +176,7 @@ static int bperf_cgroup_count(void)
 }
 
 // This will be attached to cgroup-switches event for each cpu
-SEC("perf_events")
+SEC("perf_event")
 int BPF_PROG(on_cgrp_switch)
 {
        return bperf_cgroup_count();