diff options
author | Jiri Olsa <[email protected]> | 2018-01-07 17:03:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <[email protected]> | 2018-01-08 12:35:01 -0300 |
commit | 99e818cc88889a2fa2f483b91b372c47b94b7c98 (patch) | |
tree | e015ff4014a41fca03a550187172bd1e4448150c /scripts/gdb/linux | |
parent | 8cf7e0e22414f5acf85ecb7cd0d4482e6c9696ae (diff) |
perf: Return empty callchain instead of NULL
It simplifies the code a bit, because we dump the callchain
Link: http://lkml.kernel.org/n/[email protected]
even if it's empty. With 'empty' callchain we can remove
all the NULL-checking code paths.
Original-patch-from: Peter Zijlstra <[email protected]>
Signed-off-by: Jiri Olsa <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Namhyung Kim <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions