diff options
author | Johannes Weiner <[email protected]> | 2009-06-24 21:08:36 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-06-25 11:35:58 +0200 |
commit | 76c64c5e4c47b6d28deb3cae8dfa07a93c2229dc (patch) | |
tree | a970aa801aa903dd58aa53ac75c5caa7f4c9ab9c /net/lapb/lapb_timer.c | |
parent | 1b173f77dd0d5fd4f0ff18034aaa79e30da068b9 (diff) |
perf record: Fix filemap pathname parsing in /proc/pid/maps
Looking backward for the first space from the end of a line in
/proc/pid/maps does not find the start of the pathname of the mapped
file if it contains a space.
Since the only slashes we have in this file occur in the (absolute!)
pathname column of file mappings, looking for the first slash in a
line is a safe method to find the name.
Signed-off-by: Johannes Weiner <[email protected]>
Cc: Stefani Seibold <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: "Eric W. Biederman" <[email protected]>
Cc: Alexey Dobriyan <[email protected]>
Cc: Peter Zijlstra <[email protected]>
LKML-Reference: <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions