Skip to content

rtla: Add --trace-buffer-size option

JIRA: https://issues.redhat.com/browse/RHEL-58061

Conflicts: RHEL-9.x does not have commit fb9e90a67ee9a ("rtla/timerlat: Make
user-space threads the default) and that leads to a small merge
conflict.

commit e9a4062e1527238c5649d0f4be794a8566fd77c9
Author: Daniel Bristot de Oliveira bristot@kernel.org
Date: Thu May 16 16:15:22 2024 +0200

rtla: Add --trace-buffer-size option  

Add the option allow the users to set a different buffer size for the  
trace. For example, in large systems, the user might be interested on  
reducing the trace buffer to avoid large tracing files.  

The buffer size is specified in kB, and it is only affecting  
the tracing instance.  

The function trace_set_buffer_size() appears on libtracefs v1.6,  
so increase the minimum required version on Makefile.config.  

Link: https://lkml.kernel.org/r/e7c9ca5b3865f28e131a49ec3b984fadf2d056c6.1715860611.git.bristot@kernel.org  

Cc: Jonathan Corbet <corbet@lwn.net>  
Cc: Juri Lelli <juri.lelli@redhat.com>  
Cc: John Kacur <jkacur@redhat.com>  
Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org>  

Signed-off-by: Luis Claudio R. Goncalves lgoncalv@redhat.com

Merge request reports