mirror_ubuntu-kernels/tools/tracing/rtla/src
Daniel Bristot de Oliveira 75016ca3ac rtla: Tools main loop cleanup
I probably started using "do {} while();", but changed all but osnoise_top
to "while(){};" leaving the ; behind.

Cleanup the main loop code, making all tools use "while() {}"

Changcheng Deng reported this problem, as reported by coccicheck:

Fix the following coccicheck review:
./tools/tracing/rtla/src/timerlat_hist.c: 800: 2-3: Unneeded semicolon
./tools/tracing/rtla/src/osnoise_hist.c:  776: 2-3: Unneeded semicolon
./tools/tracing/rtla/src/timerlat_top.c:  596: 2-3: Unneeded semicolon

Link: https://lkml.kernel.org/r/3c1642110aa87c396f5da4a037dabc72dbb9c601.1646247211.git.bristot@kernel.org

Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
Cc: Clark Williams <williams@redhat.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Reported-by: Changcheng Deng <deng.changcheng@zte.com.cn>
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2022-03-15 14:36:50 -04:00
..
osnoise_hist.c rtla: Tools main loop cleanup 2022-03-15 14:36:50 -04:00
osnoise_top.c rtla: Tools main loop cleanup 2022-03-15 14:36:50 -04:00
osnoise.c rtla/osnoise: Add support to adjust the tracing_thresh 2022-03-15 14:36:48 -04:00
osnoise.h rtla/osnoise: Add support to adjust the tracing_thresh 2022-03-15 14:36:48 -04:00
rtla.c rtla: Add timerlat tool and timelart top mode 2022-01-13 17:02:43 -05:00
timerlat_hist.c rtla: Tools main loop cleanup 2022-03-15 14:36:50 -04:00
timerlat_top.c rtla: Tools main loop cleanup 2022-03-15 14:36:50 -04:00
timerlat.c rtla/timerlat: Add timerlat hist mode 2022-01-13 17:02:43 -05:00
timerlat.h rtla/timerlat: Add timerlat hist mode 2022-01-13 17:02:43 -05:00
trace.c rtla: Check for trace off also in the trace instance 2022-03-15 14:36:50 -04:00
trace.h rtla: Check for trace off also in the trace instance 2022-03-15 14:36:50 -04:00
utils.c rtla/timerlat: Add --dma-latency option 2022-03-15 14:36:50 -04:00
utils.h rtla/timerlat: Add --dma-latency option 2022-03-15 14:36:50 -04:00