diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2014-03-18 15:10:42 -0400 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2014-03-18 17:17:05 -0400 |
commit | a33f6efc43cb71795bbdaf0251544ff3edbfdb2f (patch) | |
tree | 788909eac7fd4d391e0a23b48d7c6ef9e3fe8714 /tools/perf/util/evsel.c | |
parent | 8fffdb6821e8ca249f56fba796ef463ac74ab196 (diff) |
perf evsel: Update function names in debug messages
perf_event_open() was renamed to sys_perf_event_open(); update the debug
messages to reflect this.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Link: http://lkml.kernel.org/r/1395169842-1399-1-git-send-email-artagnon@gmail.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/evsel.c')
-rw-r--r-- | tools/perf/util/evsel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/evsel.c b/tools/perf/util/evsel.c index 26b67b11c65b..5c28d82b76c4 100644 --- a/tools/perf/util/evsel.c +++ b/tools/perf/util/evsel.c | |||
@@ -1023,7 +1023,7 @@ retry_sample_id: | |||
1023 | 1023 | ||
1024 | group_fd = get_group_fd(evsel, cpu, thread); | 1024 | group_fd = get_group_fd(evsel, cpu, thread); |
1025 | retry_open: | 1025 | retry_open: |
1026 | pr_debug2("perf_event_open: pid %d cpu %d group_fd %d flags %#lx\n", | 1026 | pr_debug2("sys_perf_event_open: pid %d cpu %d group_fd %d flags %#lx\n", |
1027 | pid, cpus->map[cpu], group_fd, flags); | 1027 | pid, cpus->map[cpu], group_fd, flags); |
1028 | 1028 | ||
1029 | FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr, | 1029 | FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr, |
@@ -1032,7 +1032,7 @@ retry_open: | |||
1032 | group_fd, flags); | 1032 | group_fd, flags); |
1033 | if (FD(evsel, cpu, thread) < 0) { | 1033 | if (FD(evsel, cpu, thread) < 0) { |
1034 | err = -errno; | 1034 | err = -errno; |
1035 | pr_debug2("perf_event_open failed, error %d\n", | 1035 | pr_debug2("sys_perf_event_open failed, error %d\n", |
1036 | err); | 1036 | err); |
1037 | goto try_fallback; | 1037 | goto try_fallback; |
1038 | } | 1038 | } |