]> Git Repo - linux.git/blobdiff - tools/perf/builtin-annotate.c
selinux: Remove security_ops extern
[linux.git] / tools / perf / builtin-annotate.c
index d30d2c2e2a7a30d79846afde2487656aa8cdd92f..1ec429fef2be9354d79400efe074e707229bef2f 100644 (file)
@@ -65,12 +65,13 @@ static int perf_evsel__add_sample(struct perf_evsel *evsel,
                return 0;
        }
 
-       he = __hists__add_entry(&evsel->hists, al, NULL, NULL, NULL, 1, 1, 0);
+       he = __hists__add_entry(&evsel->hists, al, NULL, NULL, NULL, 1, 1, 0,
+                               true);
        if (he == NULL)
                return -ENOMEM;
 
        ret = hist_entry__inc_addr_samples(he, evsel->idx, al->addr);
-       hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
+       hists__inc_nr_samples(&evsel->hists, true);
        return ret;
 }
 
This page took 0.031797 seconds and 4 git commands to generate.