linux-IllusionX/tools/tracing
jianchunfu b5f37a0b6f rtla/utils: Use calloc and check the potential memory allocation failure
Replace malloc with calloc and add memory allocating check
of mon_cpus before used.

Link: https://lkml.kernel.org/r/20220615073348.6891-1-jianchunfu@cmss.chinamobile.com

Fixes: 7d0dc9576d ("rtla/timerlat: Add --dma-latency option")
Signed-off-by: jianchunfu <jianchunfu@cmss.chinamobile.com>
Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
2022-07-11 21:14:29 -04:00
..
latency tools/latency-collector: Use correct size when writing queue_full_warning 2021-10-25 22:27:19 -04:00
rtla rtla/utils: Use calloc and check the potential memory allocation failure 2022-07-11 21:14:29 -04:00
Makefile tools/tracing: Update Makefile to build rtla 2022-01-27 19:15:47 -05:00