mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
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>
This commit is contained in:
parent
8fffdb6821
commit
a33f6efc43
1 changed files with 2 additions and 2 deletions
|
@ -1023,7 +1023,7 @@ retry_sample_id:
|
||||||
|
|
||||||
group_fd = get_group_fd(evsel, cpu, thread);
|
group_fd = get_group_fd(evsel, cpu, thread);
|
||||||
retry_open:
|
retry_open:
|
||||||
pr_debug2("perf_event_open: pid %d cpu %d group_fd %d flags %#lx\n",
|
pr_debug2("sys_perf_event_open: pid %d cpu %d group_fd %d flags %#lx\n",
|
||||||
pid, cpus->map[cpu], group_fd, flags);
|
pid, cpus->map[cpu], group_fd, flags);
|
||||||
|
|
||||||
FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr,
|
FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr,
|
||||||
|
@ -1032,7 +1032,7 @@ retry_open:
|
||||||
group_fd, flags);
|
group_fd, flags);
|
||||||
if (FD(evsel, cpu, thread) < 0) {
|
if (FD(evsel, cpu, thread) < 0) {
|
||||||
err = -errno;
|
err = -errno;
|
||||||
pr_debug2("perf_event_open failed, error %d\n",
|
pr_debug2("sys_perf_event_open failed, error %d\n",
|
||||||
err);
|
err);
|
||||||
goto try_fallback;
|
goto try_fallback;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue