• Daniel Bristot de Oliveira's avatar
    tracing/osnoise: Do not follow tracing_cpumask · 66df27f1
    Daniel Bristot de Oliveira authored
    In preparation to support multiple instances, decouple the
    osnoise/timelat workload from instance-specific tracing_cpumask.
    
    Different instances can have conflicting cpumasks, making osnoise
    workload management needlessly complex. Osnoise already has its
    global cpumask.
    
    I also thought about using the first instance mask, but the
    "first" instance could be removed before the others.
    
    This also fixes the problem that changing the tracing_mask was not
    re-starting the trace.
    
    Link: https://lkml.kernel.org/r/169a71bcc919ce3ab53ae6f9ca5cde57fffaf9c6.1635702894.git.bristot@kernel.org
    
    Cc: Ingo Molnar <mingo@redhat.com>
    Cc: Tom Zanussi <zanussi@kernel.org>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Juri Lelli <juri.lelli@redhat.com>
    Cc: Clark Williams <williams@redhat.com>
    Cc: John Kacur <jkacur@redhat.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
    Cc: Daniel Bristot de Oliveira <bristot@kernel.org>
    Cc: linux-rt-users@vger.kernel.org
    Cc: linux-trace-devel@vger.kernel.org
    Signed-off-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    66df27f1
trace_osnoise.c 51.3 KB