diff options
| author | Tom Zanussi <tom.zanussi@linux.intel.com> | 2018-12-18 14:33:21 -0600 |
|---|---|---|
| committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2018-12-22 08:21:04 -0500 |
| commit | 2f31ed9308cc9e95c149078b276a47360ab507bb (patch) | |
| tree | 05aa0fffdd7ef9d1101c460d76aca747113f083b /lib/mpi/mpi-inline.h | |
| parent | 6801f0d5ca00bed159c7f87870cc6f5411837544 (diff) | |
tracing: Change strlen to sizeof for hist trigger static strings
There's no need to use strlen() for static strings when the length is
already known, so update trace_events_hist.c with sizeof() for those
cases.
Link: http://lkml.kernel.org/r/e3e754f2bd18e56eaa8baf79bee619316ebf4cfc.1545161087.git.tom.zanussi@linux.intel.com
Acked-by: Namhyung Kim <namhyung@kernel.org>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Tom Zanussi <tom.zanussi@linux.intel.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions
