summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorFranck Bui-Huu <fbuihuu@gmail.com>2010-12-20 15:18:04 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-12-21 16:20:12 -0200
commitfde52dbd7f71934aba4e150f3d1d51e826a08850 (patch)
tree1b96f7055ad29b37a25e2de748f128ae5d44fb77 /init
parent9d95b580a8d64ef4d1660a21a9de0658fe29f041 (diff)
downloadop-kernel-dev-fde52dbd7f71934aba4e150f3d1d51e826a08850.zip
op-kernel-dev-fde52dbd7f71934aba4e150f3d1d51e826a08850.tar.gz
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 'init')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud