diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-07 08:07:11 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-11-07 08:07:11 -0800 |
| commit | 5b95a50001f1fbcae6b7fe211a02f37a04dd9a4b (patch) | |
| tree | 724345959bfe7d8a6cd42bd60d802e16f89619ff /tools | |
| parent | Merge tag 'slab-for-6.18-rc5' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
| parent | tracing/tools: Fix incorrcet short option in usage text for --threads (diff) | |
| download | linux-5b95a50001f1fbcae6b7fe211a02f37a04dd9a4b.tar.gz linux-5b95a50001f1fbcae6b7fe211a02f37a04dd9a4b.zip | |
Merge tag 'trace-v6.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt:
- Check for reader catching up in ring_buffer_map_get_reader()
If the reader catches up to the writer in the memory mapped ring
buffer then calling rb_get_reader_page() will return NULL as there's
no pages left. But this isn't checked for before calling
rb_get_reader_page() and the return of NULL causes a warning.
If it is detected that the reader caught up to the writer, then
simply exit the routine
- Fix memory leak in histogram create_field_var()
The couple of the error paths in create_field_var() did not properly
clean up what was allocated. Make sure everything is freed properly
on error
- Fix help message of tools latency_collector
The help message incorrectly stated that "-t" was the same as
"--threads" whereas "--threads" is actually represented by "-e"
* tag 'trace-v6.18-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing/tools: Fix incorrcet short option in usage text for --threads
tracing: Fix memory leaks in create_field_var()
ring-buffer: Do not warn in ring_buffer_map_get_reader() when reader catches up
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/tracing/latency/latency-collector.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tracing/latency/latency-collector.c b/tools/tracing/latency/latency-collector.c index cf263fe9deaf..ef97916e3873 100644 --- a/tools/tracing/latency/latency-collector.c +++ b/tools/tracing/latency/latency-collector.c @@ -1725,7 +1725,7 @@ static void show_usage(void) "-n, --notrace\t\tIf latency is detected, do not print out the content of\n" "\t\t\tthe trace file to standard output\n\n" -"-t, --threads NRTHR\tRun NRTHR threads for printing. Default is %d.\n\n" +"-e, --threads NRTHR\tRun NRTHR threads for printing. Default is %d.\n\n" "-r, --random\t\tArbitrarily sleep a certain amount of time, default\n" "\t\t\t%ld ms, before reading the trace file. The\n" |
