diff options
author | Jiri Olsa <[email protected]> | 2014-01-07 13:47:23 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-02-18 09:34:47 -0300 |
commit | b42dc32d4f91e4c0f34b628fdb012eb423da9e69 (patch) | |
tree | e55922a9dd9352a2611a02aa4cda74d7875559d8 /lib/test-string_helpers.c | |
parent | aa16b81fe916378ef6474530c59f719c36cd6ec4 (diff) |
perf tools: Fix dwarf unwind max_stack processing
The 'unwind__get_entries' function currently returns 'max_stack + 1'
entries (instead of exact max_stack entries), because max_stack value
does not get decremented for the first entry.
This fix makes dwarf-unwind test pass.
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Jean Pihet <[email protected]>
Cc: Corey Ashford <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Frederic Weisbecker <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jean Pihet <[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 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions