diff options
author | 2018-12-18 14:33:21 -0600 | |
---|---|---|
committer | 2018-12-22 08:21:04 -0500 | |
commit | 2f31ed9308cc9e95c149078b276a47360ab507bb (patch) | |
tree | 05aa0fffdd7ef9d1101c460d76aca747113f083b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tracing: Remove unnecessary hist trigger struct field (diff) | |
download | wireguard-linux-2f31ed9308cc9e95c149078b276a47360ab507bb.tar.xz wireguard-linux-2f31ed9308cc9e95c149078b276a47360ab507bb.zip |
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 '')
0 files changed, 0 insertions, 0 deletions