mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
trace: track enabled events in a separate array
This is more cache friendly on the fast path, where we already have the event id available. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
43b48cfc3e
commit
585ec7273e
5 changed files with 14 additions and 8 deletions
|
@ -18,7 +18,6 @@
|
|||
* @id: Unique event identifier.
|
||||
* @name: Event name.
|
||||
* @sstate: Static tracing state.
|
||||
* @dstate: Dynamic tracing state.
|
||||
*
|
||||
* Opaque generic description of a tracing event.
|
||||
*/
|
||||
|
@ -26,7 +25,6 @@ typedef struct TraceEvent {
|
|||
TraceEventID id;
|
||||
const char * name;
|
||||
const bool sstate;
|
||||
bool dstate;
|
||||
} TraceEvent;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue