projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf tools: Check vmlinux/kallsyms arguments in all tools
[linux-2.6-microblaze.git]
/
tools
/
perf
/
builtin-c2c.c
diff --git
a/tools/perf/builtin-c2c.c
b/tools/perf/builtin-c2c.c
index
a192014
..
b5c67ef
100644
(file)
--- a/
tools/perf/builtin-c2c.c
+++ b/
tools/perf/builtin-c2c.c
@@
-2768,6
+2768,10
@@
static int perf_c2c__report(int argc, const char **argv)
if (c2c.stats_only)
c2c.use_stdio = true;
+ err = symbol__validate_sym_arguments();
+ if (err)
+ goto out;
+
if (!input_name || !strlen(input_name))
input_name = "perf.data";