summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorGustavo A. R. Silva <gustavo@embeddedor.com>2018-02-09 18:53:16 +0100
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-06-21 21:12:43 +0200
commit08ae88f8104f486fd4103854119169f3e55dbc4c (patch)
tree8b85d4520b0e6ec6249a104365dc3a885dfa09b8 /README
parentsoftirq: Reorder trace_softirqs_on to prevent lockdep splat (diff)
downloadlinux-08ae88f8104f486fd4103854119169f3e55dbc4c.tar.xz
linux-08ae88f8104f486fd4103854119169f3e55dbc4c.zip
tracing: Use swap macro in update_max_tr
Make use of the swap macro and remove unnecessary variable _buf_. This makes the code easier to read and maintain. Also, reduces the stack usage. This code was detected with the help of Coccinelle. Link: http://lkml.kernel.org/r/20180209175316.GA18720@embeddedgus Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions