diff options
| author | Jiri Olsa <[email protected]> | 2014-01-07 12:47:23 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-02-18 12:34:47 +0000 |
| commit | b42dc32d4f91e4c0f34b628fdb012eb423da9e69 (patch) | |
| tree | e55922a9dd9352a2611a02aa4cda74d7875559d8 /tools/perf/builtin-inject.c | |
| parent | perf tests x86: Add dwarf unwind test (diff) | |
| download | kernel-b42dc32d4f91e4c0f34b628fdb012eb423da9e69.tar.gz kernel-b42dc32d4f91e4c0f34b628fdb012eb423da9e69.zip | |
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 'tools/perf/builtin-inject.c')
0 files changed, 0 insertions, 0 deletions
