commit | 9a10bb22897ae9c2aa0ac9c2071f539f406ef942 | [log] [tgz] |
---|---|---|
author | Jiri Olsa <[email protected]> | Sun Jul 21 13:24:03 2019 +0200 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Mon Jul 29 18:34:43 2019 -0300 |
tree | 894ac25ccf9506126676994ab49c44f68f99876d | |
parent | ec7f24ef44fc5a4eb5cb71658c33db538ed66003 [diff] [blame] |
perf evsel: Rename perf_evsel__disable() to evsel__disable() Renaming perf_evsel__disable() to evsel__disable(), so we don't have a name clash when we add perf_evsel__disable() in libperf. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Alexey Budankov <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Michael Petlan <[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]>
diff --git a/tools/perf/tests/keep-tracking.c b/tools/perf/tests/keep-tracking.c index cdc19bc..1976ccb 100644 --- a/tools/perf/tests/keep-tracking.c +++ b/tools/perf/tests/keep-tracking.c
@@ -129,7 +129,7 @@ int test__keep_tracking(struct test *test __maybe_unused, int subtest __maybe_un evsel = perf_evlist__last(evlist); - CHECK__(perf_evsel__disable(evsel)); + CHECK__(evsel__disable(evsel)); comm = "Test COMM 2"; CHECK__(prctl(PR_SET_NAME, (unsigned long)comm, 0, 0, 0));