common: trace: make it easier to use event values