mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
tracetool: dtrace disabled-events fix
If there are "disabled" entries in the trace-events file then linetod_nop() is called if the backend is dtrace, it's currently not present. Also equivalent fix for stap. Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
parent
2174e2380f
commit
60be795f0b
1 changed files with 12 additions and 0 deletions
|
@ -161,6 +161,18 @@ linetoc_nop()
|
|||
return
|
||||
}
|
||||
|
||||
linetod_nop()
|
||||
{
|
||||
# Used when "disabled" events are processed
|
||||
return
|
||||
}
|
||||
|
||||
linetostap_nop()
|
||||
{
|
||||
# Used when "disabled" events are processed
|
||||
return
|
||||
}
|
||||
|
||||
linetoc_end_nop()
|
||||
{
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue