On Fri, 2017-09-08 at 15:09 -0400, Steven Rostedt wrote: > On Tue, 5 Sep 2017 16:57:45 -0500 > Tom Zanussi <tom.zanu...@linux.intel.com> wrote: > > > Add support for alias=$somevar where alias can be used as > > onmatch($alias). > > This change log is very lacking. What exactly is the purpose of alias? > > Sounds like the variable is going undercover. >
This was a feature added at the request of a user, who wanted more flexibility in making naming clearer in certain cases e.g.: # echo 'hist:keys=next_pid:new_lat=$common_timestamp.usecs' > /sys/kernel/debug/tracing/events/sched/sched_switch/trigger # echo 'hist:keys=pid:latency=$new_lat:onmatch(sched.sched_switch).wake2($latency,pid)' > /sys/kernel/debug/tracing/events/synthetic/wake1/trigger I'll add a better description and exampe to the change log for this. Tom