perf evlist: Rename perf_evlist__disable() to evlist__disable()
Rename perf_evlist__disable() to evlist__disable(), so we don't have a name clash when we add perf_evlist__disable() in libperf. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Alexey Budankov <alexey.budankov@linux.intel.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Michael Petlan <mpetlan@redhat.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20190721112506.12306-23-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
1c87f1654c
commit
e74676deba
@@ -3451,7 +3451,7 @@ again:
|
||||
goto out_disable;
|
||||
|
||||
if (done && !draining) {
|
||||
perf_evlist__disable(evlist);
|
||||
evlist__disable(evlist);
|
||||
draining = true;
|
||||
}
|
||||
}
|
||||
@@ -3477,7 +3477,7 @@ again:
|
||||
out_disable:
|
||||
thread__zput(trace->current);
|
||||
|
||||
perf_evlist__disable(evlist);
|
||||
evlist__disable(evlist);
|
||||
|
||||
if (trace->sort_events)
|
||||
ordered_events__flush(&trace->oe.data, OE_FLUSH__FINAL);
|
||||
|
Reference in New Issue
Block a user