diff options
author | Jiri Olsa <jolsa@kernel.org> | 2018-01-07 17:03:50 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2018-01-08 12:35:01 -0300 |
commit | 99e818cc88889a2fa2f483b91b372c47b94b7c98 (patch) | |
tree | e015ff4014a41fca03a550187172bd1e4448150c /drivers/edac | |
parent | 8cf7e0e22414f5acf85ecb7cd0d4482e6c9696ae (diff) | |
download | linux-stable-99e818cc88889a2fa2f483b91b372c47b94b7c98.tar.gz linux-stable-99e818cc88889a2fa2f483b91b372c47b94b7c98.tar.bz2 linux-stable-99e818cc88889a2fa2f483b91b372c47b94b7c98.zip |
perf: Return empty callchain instead of NULL
It simplifies the code a bit, because we dump the callchain
Link: http://lkml.kernel.org/n/tip-uqp7qd6aif47g39glnbu95yl@git.kernel.org
even if it's empty. With 'empty' callchain we can remove
all the NULL-checking code paths.
Original-patch-from: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: http://lkml.kernel.org/r/20180107160356.28203-7-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions