tracing: Have histogram types be constant when possible