Searched hist:"5 d7be90ed5cfb5dd3c9ab726d7daa91b86b81747" (Results 1 – 3 of 3) sorted by relevance
/linux/tools/perf/util/ |
H A D | parse-events.y | diff 5d7be90ed5cfb5dd3c9ab726d7daa91b86b81747 Tue Mar 20 19:15:40 CET 2012 Jiri Olsa <jolsa@redhat.com> perf tools: Fix modifier to be applied on correct events
The event modifier needs to be applied only on the event definition it is attached to.
The current state is that in case of multiple events definition (in single '-e' option, separated by ',') all will get modifier of the last one.
Fixing this by adding separated list for each event definition, so the modifier is applied only to proper event(s). Added automated test to catch this, plus some other modifier tests.
Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1332267341-26338-3-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
H A D | parse-events.h | diff 5d7be90ed5cfb5dd3c9ab726d7daa91b86b81747 Tue Mar 20 19:15:40 CET 2012 Jiri Olsa <jolsa@redhat.com> perf tools: Fix modifier to be applied on correct events
The event modifier needs to be applied only on the event definition it is attached to.
The current state is that in case of multiple events definition (in single '-e' option, separated by ',') all will get modifier of the last one.
Fixing this by adding separated list for each event definition, so the modifier is applied only to proper event(s). Added automated test to catch this, plus some other modifier tests.
Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1332267341-26338-3-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|
H A D | parse-events.c | diff 5d7be90ed5cfb5dd3c9ab726d7daa91b86b81747 Tue Mar 20 19:15:40 CET 2012 Jiri Olsa <jolsa@redhat.com> perf tools: Fix modifier to be applied on correct events
The event modifier needs to be applied only on the event definition it is attached to.
The current state is that in case of multiple events definition (in single '-e' option, separated by ',') all will get modifier of the last one.
Fixing this by adding separated list for each event definition, so the modifier is applied only to proper event(s). Added automated test to catch this, plus some other modifier tests.
Signed-off-by: Jiri Olsa <jolsa@redhat.com> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1332267341-26338-3-git-send-email-jolsa@redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
|