aboutsummaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorCody P Schafer <[email protected]>2012-08-10 15:22:47 -0700
committerArnaldo Carvalho de Melo <[email protected]>2012-08-13 14:10:10 -0300
commit72f86204419e1b83f18b9bc2c97141a52dc534d2 (patch)
tree89ee19fa8f93de9c0fd93a92b3773bb95398720d /scripts/objdiff
parent261ee821c256dffa02e5608c7df51744a03992a2 (diff)
perf symbols: Correct comment wrt kallsyms loading
In kallsyms_parse() when calling process_symbol() (a callback argument to kallsyms_parse()), we pass start as both start & end (ie: start=start, end=start). In map__process_kallsym_symbol(), the length is calculated as 'end - start + 1', making the length 1, not 0. Essentially, start & end define an inclusive range. Signed-off-by: Cody P Schafer <[email protected]> Cc: David Hansen <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Matt Hellsley <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sukadev Bhattiprolu <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions