On Mon, Feb 24, 2014 at 02:29:32PM -0800, Vinson Lee wrote: > Hi. > > Please consider backporting upstream commits > 275ef3878f698941353780440fec6926107a320b and > 42e1fb776087713b5482cd7cf6cac998fbdd6544 to stable trees 3.4, 3.5, and > 3.6. > > commit 275ef3878f698941353780440fec6926107a320b > Author: Jiri Olsa <jolsa@xxxxxxxxxx> > Date: Wed Sep 5 19:51:33 2012 +0200 > > 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 <joel@xxxxxxxxxxxxxxxxxxxxxxxx> > Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx> > Cc: Corey Ashford <cjashfor@xxxxxxxxxxxxxxxxxx> > Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> > Cc: Ingo Molnar <mingo@xxxxxxx> > Cc: Joel Uckelman <joel@xxxxxxxxxxxxxxxxxxxxxxxx> > Cc: Paul Mackerras <paulus@xxxxxxxxx> > Cc: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx> > LPU-Reference: 20120905175133.GA18352@xxxxxxxxxxxxxxxxxxxx > [ committer note: Remove the newline fix, done already in 42e1fb7 ] > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> > > > commit 42e1fb776087713b5482cd7cf6cac998fbdd6544 > Author: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> > Date: Thu Sep 6 14:43:28 2012 -0300 > > perf tools: Remove extraneous newline when parsing hardware cache events > > Noticed while developing a 'perf test' entry to verify that > perf_evsel__name works. > > Cc: David Ahern <dsahern@xxxxxxxxx> > Cc: Frederic Weisbecker <fweisbec@xxxxxxxxx> > Cc: Jiri Olsa <jolsa@xxxxxxxxxx> > Cc: Mike Galbraith <efault@xxxxxx> > Cc: Namhyung Kim <namhyung@xxxxxxxxx> > Cc: Paul Mackerras <paulus@xxxxxxxxx> > Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> > Cc: Stephane Eranian <eranian@xxxxxxxxxx> > Link: http://lkml.kernel.org/n/tip-xz6zgh38mp3cjnd2udh38z8f@xxxxxxxxxxxxxx > Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx> Now queued up for 3.4-stable, thanks. greg k-h -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html