android_kernel_google_msm/tools
Jiri Olsa 73a1182808 perf tools: Fix cache event name generation
commit 275ef3878f upstream.

If the event name is specified with all 3 components, the last one
overwrites the previous one during the name composing within the
parse_events_add_cache function.

Fixing this by properly adjusting the string index.

Reported-by: Joel Uckelman <joel@lightboxtechnologies.com>
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: Joel Uckelman <joel@lightboxtechnologies.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LPU-Reference: 20120905175133.GA18352@krava.brq.redhat.com
[ committer note: Remove the newline fix, done already in 42e1fb7 ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Vinson Lee <vlee@twopensource.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-11 16:10:04 -07:00
..
firewire
hv tools: hv: Netlink source address validation allows DoS 2013-03-28 12:12:28 -07:00
include/tools tools/include: Add byteshift headers for endian access 2012-02-28 10:22:51 -08:00
lguest lguest: fix occasional crash in example launcher. 2012-10-13 05:38:38 +09:00
nfsd NFSD: Added fault injection script 2011-11-07 21:10:47 -05:00
perf perf tools: Fix cache event name generation 2014-03-11 16:10:04 -07:00
power turbostat: Use GCC's CPUID functions to support PIC 2014-02-13 11:51:09 -08:00
testing ktest: Fix reboot on success stopping all reboots 2012-05-01 08:25:48 -04:00
usb USB: ffs-test: fix length argument of out function call 2012-06-01 15:18:21 +08:00
virtio tools/virtio: stub out strong barriers 2012-02-28 09:13:16 +02:00
vm kbuild: install kernel-page-flags.h 2012-06-10 00:36:11 +09:00