diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2017-06-27 14:22:31 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2017-06-27 14:22:31 +0000 |
| commit | 62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd (patch) | |
| tree | c950f6bc7b253c0e6005cf282fc0370a85c6171a /tools/perf/builtin-sched.c | |
| parent | perf tools: Remove warning() (diff) | |
| download | kernel-62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd.tar.gz kernel-62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd.zip | |
perf tools: Replace error() with pr_err()
To consolidate the error reporting facility.
Cc: Adrian Hunter <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Wang Nan <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/builtin-sched.c')
| -rw-r--r-- | tools/perf/builtin-sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-sched.c b/tools/perf/builtin-sched.c index 39996c53995a..322b4def8411 100644 --- a/tools/perf/builtin-sched.c +++ b/tools/perf/builtin-sched.c @@ -2066,7 +2066,7 @@ static void save_task_callchain(struct perf_sched *sched, if (thread__resolve_callchain(thread, cursor, evsel, sample, NULL, NULL, sched->max_stack + 2) != 0) { if (verbose > 0) - error("Failed to resolve callchain. Skipping\n"); + pr_err("Failed to resolve callchain. Skipping\n"); return; } |
