Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Ramkumar Ramachandra and committed by
Arnaldo Carvalho de Melo
a33f6efc 8fffdb68

+2 -2
+2 -2
tools/perf/util/evsel.c
··· 1023 1023 1024 1024 group_fd = get_group_fd(evsel, cpu, thread); 1025 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 1027 pid, cpus->map[cpu], group_fd, flags); 1028 1028 1029 1029 FD(evsel, cpu, thread) = sys_perf_event_open(&evsel->attr, ··· 1032 1032 group_fd, flags); 1033 1033 if (FD(evsel, cpu, thread) < 0) { 1034 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 1036 err); 1037 1037 goto try_fallback; 1038 1038 }