-
Sub-task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
None
-
False
-
-
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)