sim: trace: centralize the system tracing
authorMike Frysinger <vapier@gentoo.org>
Wed, 10 Jun 2015 10:02:52 +0000 (18:02 +0800)
committerMike Frysinger <vapier@gentoo.org>
Thu, 11 Jun 2015 14:39:43 +0000 (10:39 -0400)
commit83034798de7d11d2e26b3760e26b2c9cadec9fd4
tree33c35108b500e798f42abd2e2e1d8f5aa2cfaaa6
parentce4eda4a58d4634577cf998b928572bed6779246
sim: trace: centralize the system tracing

First we convert the ETRACE_P to STRACE_EVENTS_P.  This means we move from
using the sim_events.trace storage to the common sim_state_base.trace_data
array.  With that deleted, the common trace init code can be simplified so
the sim state works the same as the sim cpu.
sim/common/ChangeLog
sim/common/sim-events.c
sim/common/sim-events.h
sim/common/sim-trace.c