summaryrefslogtreecommitdiffstats
path: root/kernel/configs.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2018-08-24 16:20:28 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2018-09-24 04:44:52 -0400
commitd6b183eda466415bb5defcf9afe4cb64734839e8 (patch)
treeaea433b3c4e989293da85f71c39694580f7563fd /kernel/configs.c
parent6bf4ca7fbc85d80446ac01c0d1d77db4d91a6d84 (diff)
downloadtalos-obmc-linux-d6b183eda466415bb5defcf9afe4cb64734839e8.tar.gz
talos-obmc-linux-d6b183eda466415bb5defcf9afe4cb64734839e8.zip
tracing/kprobe: Remove unneeded extra strchr() from create_trace_kprobe()
By utilizing a temporary variable, we can avoid adding another call to strchr(). Instead, save the first call to a temp variable, and then use that variable as the reference to set the event variable. Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'kernel/configs.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud