diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2021-05-13 16:23:24 +0000 |
|---|---|---|
| committer | Steven Rostedt (VMware) <[email protected]> | 2021-05-13 18:20:33 +0000 |
| commit | eb01f5353bdaa59600b29d864819056a0e3de24d (patch) | |
| tree | 6b461e8d593c507df90d3484a6c5a302d1cdc1b5 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | Linux 5.13-rc1 (diff) | |
| download | kernel-eb01f5353bdaa59600b29d864819056a0e3de24d.tar.gz kernel-eb01f5353bdaa59600b29d864819056a0e3de24d.zip | |
tracing: Handle %.*s in trace_check_vprintf()
If a trace event uses the %*.s notation, the trace_check_vprintf() will
fail and will warn about a bad processing of strings, because it does not
take into account the length field when processing the star (*) part.
Have it handle this case as well.
Link: https://lore.kernel.org/linux-nfs/[email protected]/
Reported-by: Chuck Lever III <[email protected]>
Fixes: 9a6944fee68e2 ("tracing: Add a verifier to check string pointers for trace events")
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
