diff options
author | Jiri Olsa <[email protected]> | 2014-09-23 13:56:56 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-09-26 12:45:23 -0300 |
commit | 49757c9cc7887bc79f742eb8aacf16e464ca5f0b (patch) | |
tree | 684f1103022db370242cc21199ca3cd5985eaac1 /net/lapb/lapb_in.c | |
parent | 5a2e5e85989025a3bb23ea5571fdac0cc5787807 (diff) |
perf tools: Fix line number in the config file error message
If we fail to parse the config file within the callback function,
the line number counter 'could be' already on the next line.
This results in wrong line number report like:
$ cat ~/.perfconfig
[call-graph]
sort-key = krava
$ perf record ls
Fatal: bad config file line 3 in /home/jolsa/.perfconfig
Fixing this by saving the current line number for this case.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Milian Wolff <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions