On 29 August 2016 at 15:13, Daniel Wagner daniel.wagner@bmw-carit.de wrote:
Hi Binoy,
Some minor nitpicking.
As Steven already pointed out, the cpu field is available in all traces. It's one of the predefined fields (see kernel/trace/trace_events.c/trace_define_generic_fields()). Just drop it.
Hi Daniel,
Thank you for looking at the patch again. When I do not use cpu as a field, I am not able to make it part of the key or value fields. I can only use cpu in the filter predicate.
For example, the following trigger does not seem to work: 'hist:key=ltype,cpu:val=latency:sort=ltype,cpu if ltype==0'
But the following works: 'hist:key=ltype,latency:val=hitcount:sort=latency if cpu==1'
-Binoy