[PATCH 0/7] kernel-trace: Fine-tuning for seven function implementations

From: SF Markus Elfring
Date: Fri May 05 2017 - 17:01:03 EST


From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 5 May 2017 22:50:05 +0200

A few update suggestions were taken into account
from static source code analysis.

Markus Elfring (7):
Combine two function calls into one in hist_trigger_entry_print()
Replace five seq_puts() calls by seq_putc()
Adjust two checks for null pointers in compatible_field()
Improve a size determination in create_hist_field()
Replace two seq_printf() calls by seq_puts() in probes_seq_show()
Adjust two checks for null pointers in uprobe_buffer_init()
Delete an error message for a failed memory allocation in create_trace_uprobe()

kernel/trace/trace_events_hist.c | 18 ++++++++----------
kernel/trace/trace_uprobe.c | 10 ++++------
2 files changed, 12 insertions(+), 16 deletions(-)

--
2.12.2