Skip to content
  • Jan Kiszka's avatar
    cobalt/tracing: Convert cobalt_print_sched_params into proper function · 301cb731
    Jan Kiszka authored and Philippe Gerum's avatar Philippe Gerum committed
    
    
    The code of cobalt_print_sched_params is carried into the format string
    in tracefs, and trace-cmd tries to make any sense out of it. While it
    can process simply statements, this code is too complex and will prevent
    the parsing.
    
    Convert it into a function. That still does not resolve the parsing
    issue of trace-cmd, but that can be addressed by a custom plugin which
    can then interpret this tracepoint. That wouldn't be possible with the
    broken format string.
    
    Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
    301cb731