aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2020-01-02 19:04:57 -0500
committerSteven Rostedt (VMware) <[email protected]>2020-01-02 19:04:57 -0500
commit02f4e01ce710fe20d2e5548d52bfdea52efd09d1 (patch)
treebd14d3130c336c44062d4c013c0d7aef766f9cd2 /tools/perf/util/trace-event-scripting.c
parentfe6e096a5bbf73a142f09c72e7aa2835026eb1a3 (diff)
tracing: Initialize val to zero in parse_entry of inject code
gcc produces a variable may be uninitialized warning for "val" in parse_entry(). This is really a false positive, but the code is subtle enough to just initialize val to zero and it's not a fast path to worry about it. Marked for stable to remove the warning in the stable trees as well. Cc: [email protected] Fixes: 6c3edaf9fd6a3 ("tracing: Introduce trace event injection") Reported-by: kbuild test robot <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions