diff options
author | Franck Bui-Huu <fbuihuu@gmail.com> | 2010-12-20 15:18:04 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2010-12-21 16:20:12 -0200 |
commit | fde52dbd7f71934aba4e150f3d1d51e826a08850 (patch) | |
tree | 1b96f7055ad29b37a25e2de748f128ae5d44fb77 /.mailmap | |
parent | 9d95b580a8d64ef4d1660a21a9de0658fe29f041 (diff) |
perf probe: Don't always consider EOF as an error when listing source code
When listing a whole file or a function which is located at the end,
perf-probe -L output wrongly: "Source file is shorter than expected.".
This is because show_one_line() always consider EOF as an error.
This patch fixes this by not considering EOF as an error when dumping
the trailing lines. Otherwise it's still an error and perf-probe still
outputs its warning.
Acked-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
LKML-Reference: <1292854685-8230-6-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 '.mailmap')
0 files changed, 0 insertions, 0 deletions