From: Jiri Olsa Date: Wed, 5 Sep 2012 17:51:33 +0000 (+0200) Subject: perf tools: Fix cache event name generation X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~97^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=275ef3878f698941353780440fec6926107a320b;p=pandora-kernel.git perf tools: Fix cache event name generation 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 Signed-off-by: Jiri Olsa Cc: Corey Ashford Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Joel Uckelman Cc: Paul Mackerras Cc: Peter Zijlstra 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 --- Reading git-diff-tree failed