perf/urgent fixes
Subsystems (2)
Arnaldo Carvalho de Melo
maintainerPATCH 4/4 perf stat: Do not clean event's private stats
In reply to Arnaldo Carvalho de MeloFrom: Jiri Olsa <[email protected]>
Mel reported stddev reporting was broken due to following commit:
106a94a0f8c2 ("perf stat: Introduce read_counters function")
This commit merged interval and overall counters reading into single read_counters function.
The old interval code cleaned the stddev data for some reason (it's never displayed in interval mode) and the mentioned commit kept on cleaning the stddev data in merged function, which resulted in the stddev not being displayed.
Removing the wrong stddev data cleanup init_stats call.
--- tools/perf/util/stat.c | 1 - 1 file changed, 1 deletion(-)
tools/perf/util/stat.c +0 -1
@@ -310,7 +310,6 @@ int perf_stat_process_counter(struct perf_stat_config *config,int i, ret; aggr->val = aggr->ena = aggr->run =0 ; -init_stats (ps->res_stats);if (counter->per_pkg)zero_per_pkg (counter);
Signature · 1 line
2.5.0
Arnaldo Carvalho de Melo
maintainerPATCH 3/4 perf hists: Fix HISTC_MEM_DCACHELINE width setting
In reply to Arnaldo Carvalho de MeloFrom: Jiri Olsa <[email protected]>
Set correct width for unresolved mem_dcacheline addr.
--- tools/perf/util/hist.c | 2 ++ 1 file changed, 2 insertions(+)
tools/perf/util/hist.c +2 -0
@@ -131,6 +131,8 @@ void hists__calc_col_len(struct hists *hists, struct hist_entry *h) symlen = unresolved_col_width +4 +2 ;hists__new_col_len (hists,HISTC_MEM_DADDR_SYMBOL , symlen); +hists__new_col_len (hists,HISTC_MEM_DCACHELINE , + symlen); }if (h->mem_info->iaddr.sym) {
Signature · 1 line
2.5.0
Arnaldo Carvalho de Melo
maintainerPATCH 2/4 perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed
In reply to Arnaldo Carvalho de MeloFrom: Markus Trippelsdorf <[email protected]>
The issue was pointed out by gcc-6's -Wmisleading-indentation.
--- tools/perf/ui/browsers/annotate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/perf/ui/browsers/annotate.c +2 -2
@@ -755,11 +755,11 @@ static int annotate_browser__run(struct annotate_browser *browser, nd = browser->curr_hot;break ;case K_UNTAB : -if (nd !=NULL ) +if (nd !=NULL ) { nd =rb_next (nd);if (nd ==NULL ) nd =rb_first (&browser->entries); -else + }else nd = browser->curr_hot;break ;case K_F1 :
Signature · 1 line
2.5.0
Arnaldo Carvalho de Melo
maintainerPATCH 1/4 perf tests: Remove wrong semicolon in while loop in CQM test
In reply to Arnaldo Carvalho de MeloFrom: Markus Trippelsdorf <[email protected]>
The while loop was spinning. Fix by removing a semicolon.
The issue was pointed out by gcc-6's -Wmisleading-indentation.
--- tools/perf/arch/x86/tests/intel-cqm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/perf/arch/x86/tests/intel-cqm.c +1 -1
@@ -17,7 +17,7 @@ static pid_t spawn(void)if (pid)return pid; -while (1 ); +while (1 )sleep (5 );return 0 ; }
Signature · 1 line
2.5.0
Arnaldo Carvalho de Melo
maintainerHi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit 45c815f06b80031659c63d7b93e580015d6024dd:
perf: Synchronously free aux pages in case of allocation failure (2016-01-21 18:54:27 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-urgent-for-mingo
for you to fetch changes up to 3f416f22d1e21709a631189ba169f76fd267b374:
perf stat: Do not clean event's private stats (2016-01-26 11:15:11 -0300)
----------------------------------------------------------------
perf/urgent fixes:
User visible:
- Fix 'perf stat' stddev reporting due to mistakenly cleaning event private stats (Jiri Olsa)
- Fix 'perf test CQM' endless loop detected by 'gcc6 -Wmisleading-indentation' (Markus Trippelsdorf)
- Fix behaviour of Shift-Tab when nothing is focussed in the annotate TUI browser, detected with gcc6 -Wmisleading-indentation (Markus Trippelsdorf)
- Fix mem data cacheline hists browser width setting for unresolved addresses (Jiri Olsa)
----------------------------------------------------------------
Jiri Olsa (2):
perf hists: Fix HISTC_MEM_DCACHELINE width setting perf stat: Do not clean event's private stats
Markus Trippelsdorf (2):
perf tests: Remove wrong semicolon in while loop in CQM test perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed
tools/perf/arch/x86/tests/intel-cqm.c | 2 +- tools/perf/ui/browsers/annotate.c | 4 ++-- tools/perf/util/hist.c | 2 ++ tools/perf/util/stat.c | 1 - 4 files changed, 5 insertions(+), 4 deletions(-)
Quoted 46 lines · Arnaldo Carvalho de Melo
Hi Ingo,
Please consider pulling,
- Arnaldo
The following changes since commit
45c815f06b80031659c63d7b93e580015d6024dd:perf: Synchronously free aux pages in case of allocation failure (2016-01-21 18:54:27 +0100)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.gittags/perf-urgent-for-mingofor you to fetch changes up to
3f416f22d1e21709a631189ba169f76fd267b374:perf stat: Do not clean event's private stats (2016-01-26 11:15:11 -0300)
----------------------------------------------------------------
perf/urgent fixes:User visible:
- Fix 'perf stat' stddev reporting due to mistakenly cleaning event private stats (Jiri Olsa)
- Fix 'perf test CQM' endless loop detected by 'gcc6 -Wmisleading-indentation' (Markus Trippelsdorf)
- Fix behaviour of Shift-Tab when nothing is focussed in the annotate TUI browser, detected with gcc6 -Wmisleading-indentation (Markus Trippelsdorf)
- Fix mem data cacheline hists browser width setting for unresolved addresses (Jiri Olsa)
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>----------------------------------------------------------------
Jiri Olsa (2):
perf hists: FixHISTC_MEM_DCACHELINEwidth setting perf stat: Do not clean event's private statsMarkus Trippelsdorf (2):
perf tests: Remove wrong semicolon in while loop in CQM test perf annotate browser: Fix behaviour of Shift-Tab with nothing focussed
Quoted 5 lines
tools/perf/arch/x86/tests/intel-cqm.c | 2 +- tools/perf/ui/browsers/annotate.c | 4 ++-- tools/perf/util/hist.c | 2 ++ tools/perf/util/stat.c | 1 - 4 files changed, 5 insertions(+), 4 deletions(-)
Pulled, thanks a lot Arnaldo!
Ingo