aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace
diff options
context:
space:
mode:
authorStephane Eranian <eranian@google.com>2011-05-17 15:36:19 +0200
committerIngo Molnar <mingo@elte.hu>2011-05-17 20:45:36 +0200
commit94692349c4fc1bc74c19a28f9379509361a06a3b (patch)
tree005d42a398d973e1ec52e00512177dce1305e666 /kernel/trace
parent449a66fd1fa75d36dca917704827c40c8f416bca (diff)
downloadkernel_samsung_smdk4412-94692349c4fc1bc74c19a28f9379509361a06a3b.zip
kernel_samsung_smdk4412-94692349c4fc1bc74c19a28f9379509361a06a3b.tar.gz
kernel_samsung_smdk4412-94692349c4fc1bc74c19a28f9379509361a06a3b.tar.bz2
perf: Fix multi-event parsing bug
This patch fixes an issue with event parsing. The following commit appears to have broken the ability to specify a comma separated list of events: commit ceb53fbf6dbb1df26d38379a262c6981fe73dd36 Author: Ingo Molnar <mingo@elte.hu> Date: Wed Apr 27 04:06:33 2011 +0200 perf stat: Fail more clearly when an invalid modifier is specified This patch fixes this while preserving the desired effect: $ perf stat -e instructions:u,instructions:k ls /dev/null /dev/null Performance counter stats for 'ls /dev/null': 365956 instructions:u # 0.00 insns per cycle 731806 instructions:k # 0.00 insns per cycle 0.001108862 seconds time elapsed $ perf stat -e task-clock-msecs true invalid event modifier: '-msecs' Run 'perf list' for a list of valid events and modifiers Signed-off-by: Stephane Eranian <eranian@google.com> Cc: acme@redhat.com Cc: peterz@infradead.org Cc: fweisbec@gmail.com Link: http://lkml.kernel.org/r/20110517133619.GA6999@quad Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace')
0 files changed, 0 insertions, 0 deletions