diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2021-01-25 22:45:11 +0300 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2021-02-03 01:02:06 +0300 |
commit | 5817708493bec547914d23dcdd064919ac409f33 (patch) | |
tree | 646779d0461bb53cb96b9e84462cd3c1cdb6eb61 /tools/perf/scripts/python/stackcollapse.py | |
parent | fe427886bf41279085e0707cced41150dbcd8512 (diff) | |
download | linux-5817708493bec547914d23dcdd064919ac409f33.tar.xz |
tracing: Remove NULL check from current in tracing_generic_entry_update().
I can't imagine when or why `current' would return a NULL pointer. This
check was added in commit
72829bc3d63cd ("ftrace: move enums to ftrace.h and make helper function global")
but it doesn't give me hint why it was needed.
Assume `current' never returns a NULL pointer and remove the check.
Link: https://lkml.kernel.org/r/20210125194511.3924915-5-bigeasy@linutronix.de
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions