diff options
| author | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-14 20:19:44 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-10-14 20:50:58 +0000 |
| commit | 2c241bd35e6f626ad6f867dcf9fefdc2315f125f (patch) | |
| tree | d6fd5a27175180423ef19d9c5efd8493f7cef305 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | perf symbols: Fix map->end fixup (diff) | |
| download | kernel-2c241bd35e6f626ad6f867dcf9fefdc2315f125f.tar.gz kernel-2c241bd35e6f626ad6f867dcf9fefdc2315f125f.zip | |
perf symbols: Make sym->end be the first address after the symbol range
To follow vm_area_struct->vm_end convention.
By adhering to the convention that ->end is the first address outside
the symbol's range we can do things like:
sym->end = start + len;
len = sym->end - sym->start;
This is also now the convention used for struct map->end, fixing some
off-by-one bugs.
Cc: Adrian Hunter <[email protected]>
Cc: Chuck Ebbert <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions
