summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2010-12-20 14:18:05 (GMT)
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-12-21 19:20:13 (GMT)
commit21dd9ae5a4e9f717f3957ec934dd3158129436b8 (patch)
tree817d9db270a3179f480eeac358d43c0c8655b361 /kernel
parentfde52dbd7f71934aba4e150f3d1d51e826a08850 (diff)
downloadlinux-fsl-qoriq-21dd9ae5a4e9f717f3957ec934dd3158129436b8.tar.xz
perf probe: Handle gracefully some stupid and buggy line syntaxes
Currently perf probe doesn't handle those incorrect syntaxes: $ perf probe -L sched.c:++13 $ perf probe -L sched.c:-+13 $ perf probe -L sched.c:10000000000000000000000000000+13 This patches rewrites parse_line_range_desc() to handle them. As a bonus, it reports more useful error messages instead of: "Tailing with invalid character...". Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> LKML-Reference: <1292854685-8230-7-git-send-email-fbuihuu@gmail.com> Signed-off-by: Franck Bui-Huu <fbuihuu@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions