• Icon: Sub-task Sub-task
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • ?
    • ?
    • ?

      There is an error_report() in target/i386/kvm/vmsr_energy.c that would benefit for being a tracepoint because this is not actually an "error" as per se, but more a notification that could be used for debugging, and it is quite verbose.

      What needs to be done:

      • Modify the file target/i386/kvm/trace-events to define your desired tracepoint(s).
      • Add #include "trace-event.h"  in vmsr_energy.c  file
      • Call your probepoint using  trace_{probe name}(...args...)

      (See docs/devel/tracing.rst for general info on tracing)

       

            rh-ee-aharivel Anthony Harivel
            rh-ee-aharivel Anthony Harivel
            rhos-dfg-nfv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: