OSDN Git Service

perf stat: Separate bperf from bpf_profiler
[tomoyo/tomoyo-test1.git] / tools / perf / builtin-stat.c
index be9677a..cc9fa48 100644 (file)
@@ -712,7 +712,7 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)
                counter->reset_group = false;
                if (bpf_counter__load(counter, &target))
                        return -1;
-               if (!evsel__is_bpf(counter))
+               if (!(evsel__is_bperf(counter)))
                        all_counters_use_bpf = false;
        }
 
@@ -728,7 +728,7 @@ static int __run_perf_stat(int argc, const char **argv, int run_idx)
 
                if (counter->reset_group || counter->errored)
                        continue;
-               if (evsel__is_bpf(counter))
+               if (evsel__is_bperf(counter))
                        continue;
 try_again:
                if (create_perf_stat_counter(counter, &stat_config, &target,