commit | 43b48cfc3e8ff745a10a6b78a55519d5cf7ec5e8 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Wed Oct 28 07:06:26 2015 +0100 |
committer | Stefan Hajnoczi <stefanha@redhat.com> | Wed Feb 03 09:19:08 2016 +0000 |
tree | 659f921a14e9b8a6bfb03aac53b578cfc7fa7554 | |
parent | c65db7705b7926f4a084b93778e4bd5dd3990aad [diff] |
trace: count number of enabled events This lets trace_event_get_state_dynamic quickly return false. Right now there is hardly any benefit because there are also many assertions and indirections, but the next patch will streamline all of this. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>