diff options
| author | Jiri Olsa <[email protected]> | 2016-06-14 18:19:21 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2016-06-21 16:18:33 +0000 |
| commit | 0102ef3ec940e8a68aa94125cd4b40569b24e6be (patch) | |
| tree | d49b049bb12d8365b3fe9a764315d0e2a9017489 /tools/perf/builtin-annotate.c | |
| parent | perf script: Fix documentation of '-f' when it should be '-F' (diff) | |
| download | kernel-0102ef3ec940e8a68aa94125cd4b40569b24e6be.tar.gz kernel-0102ef3ec940e8a68aa94125cd4b40569b24e6be.zip | |
perf hists: Rename __hists__add_entry to hists__add_entry
There's no reason we should suffer the '__' prefix for the base global
function.
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
| -rw-r--r-- | tools/perf/builtin-annotate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 25c81734a950..a2324e1892aa 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -75,7 +75,7 @@ static int perf_evsel__add_sample(struct perf_evsel *evsel, sample->period = 1; sample->weight = 1; - he = __hists__add_entry(hists, al, NULL, NULL, NULL, sample, true); + he = hists__add_entry(hists, al, NULL, NULL, NULL, sample, true); if (he == NULL) return -ENOMEM; |
