diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-15 14:26:35 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-01-15 14:26:35 -0500 |
commit | 83c2f912b43c3a7babbb6cb7ae2a5276c1ed2a3e (patch) | |
tree | eaa7f50dea154d9f19721db69c7adde64d48848f /tools/perf/builtin-annotate.c | |
parent | f0ed5b9a28536b8be2f578a9450cfa42ab31ccf8 (diff) | |
parent | 172d1b0b73256551f100fc00c69e356d047103f5 (diff) |
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
* 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (39 commits)
perf tools: Fix compile error on x86_64 Ubuntu
perf report: Fix --stdio output alignment when --showcpuutilization used
perf annotate: Get rid of field_sep check
perf annotate: Fix usage string
perf kmem: Fix a memory leak
perf kmem: Add missing closedir() calls
perf top: Add error message for EMFILE
perf test: Change type of '-v' option to INCR
perf script: Add missing closedir() calls
tracing: Fix compile error when static ftrace is enabled
recordmcount: Fix handling of elf64 big-endian objects.
perf tools: Add const.h to MANIFEST to make perf-tar-src-pkg work again
perf tools: Add support for guest/host-only profiling
perf kvm: Do guest-only counting by default
perf top: Don't update total_period on process_sample
perf hists: Stop using 'self' for struct hist_entry
perf hists: Rename total_session to total_period
x86: Add counter when debug stack is used with interrupts enabled
x86: Allow NMIs to hit breakpoints in i386
x86: Keep current stack in NMI breakpoints
...
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index 214ba7f9f577..806e0a286634 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c | |||
@@ -235,7 +235,7 @@ out_delete: | |||
235 | } | 235 | } |
236 | 236 | ||
237 | static const char * const annotate_usage[] = { | 237 | static const char * const annotate_usage[] = { |
238 | "perf annotate [<options>] <command>", | 238 | "perf annotate [<options>]", |
239 | NULL | 239 | NULL |
240 | }; | 240 | }; |
241 | 241 | ||
@@ -313,10 +313,5 @@ int cmd_annotate(int argc, const char **argv, const char *prefix __used) | |||
313 | annotate.sym_hist_filter = argv[0]; | 313 | annotate.sym_hist_filter = argv[0]; |
314 | } | 314 | } |
315 | 315 | ||
316 | if (field_sep && *field_sep == '.') { | ||
317 | pr_err("'.' is the only non valid --field-separator argument\n"); | ||
318 | return -1; | ||
319 | } | ||
320 | |||
321 | return __cmd_annotate(&annotate); | 316 | return __cmd_annotate(&annotate); |
322 | } | 317 | } |