diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-27 16:22:31 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2017-06-27 16:22:31 +0200 |
commit | 62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd (patch) | |
tree | c950f6bc7b253c0e6005cf282fc0370a85c6171a /tools/perf/util/util.h | |
parent | perf tools: Remove warning() (diff) | |
download | linux-62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd.tar.xz linux-62d94b00f80b0ecb7fa9eea0539c59e9f82b0fcd.zip |
perf tools: Replace error() with pr_err()
To consolidate the error reporting facility.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Link: http://lkml.kernel.org/n/tip-b41iot1094katoffdf19w9zk@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/util.h')
-rw-r--r-- | tools/perf/util/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/perf/util/util.h b/tools/perf/util/util.h index 3927ab8df5ac..2c9e58a45310 100644 --- a/tools/perf/util/util.h +++ b/tools/perf/util/util.h @@ -16,7 +16,6 @@ /* General helper functions */ void usage(const char *err) __noreturn; void die(const char *err, ...) __noreturn __printf(1, 2); -int error(const char *err, ...) __printf(1, 2); static inline void *zalloc(size_t size) { |