There's little point in dynamically allocating the bitmap if we know at compile-time the max number of events we want to support. Thus, make room in the struct for the bitmap, which will make things easier later: this paves the way for upcoming changes, in which we'll use a u32 to fully capture cpu->trace_dstate. This change also increases performance by saving a dereference and improving locality--note that this is important since upcoming work makes reading this bitmap fairly common. Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 149915725977.6295.15069969323605305641.stgit@frigg.lan Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>  | 
			||
|---|---|---|
| .. | ||
| Makefile.objs | ||
| control-internal.h | ||
| control-target.c | ||
| control.c | ||
| control.h | ||
| event-internal.h | ||
| ftrace.c | ||
| ftrace.h | ||
| mem-internal.h | ||
| mem.h | ||
| qmp.c | ||
| simple.c | ||
| simple.h | ||