Unwind may loop forever if sample is incomplete or bogus. Bound the number of
unw_step() that yield the same IP to prevent infinite loop.
Signed-off-by: Francis Giraldeau
---
tools/perf/util/unwind.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git
Unwind may loop forever if sample is incomplete or bogus. Bound the number of
unw_step() that yield the same IP to prevent infinite loop.
Signed-off-by: Francis Giraldeau francis.girald...@gmail.com
---
tools/perf/util/unwind.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff
2 matches
Mail list logo