Add TraceSettings struct to encapsulate related settings for each mode.