tracing/events: make struct trace_entry->type to be int type