perf tools: Assorted fixes for hierarchy mode
Namhyung Kim
maintainercover perf tools: Assorted fixes for hierarchy mode
Hello,
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Any feedbacks are welcomed.
Thanks,
Namhyung
Namhyung Kim (4):
perf hist browser: Fix indentation of folded sign on --hierarchy perf hist browser: Show folded sign properly on --hierarchy perf hist browser: Fix column indentation on --hierarchy perf hists: Fix column length on --hierarchy
tools/perf/ui/browsers/hists.c | 35 ++++++++++++++++++++++++----------- tools/perf/util/hist.c | 12 ++++++------ 2 files changed, 30 insertions(+), 17 deletions(-)
Signature · 1 line
2.10.1
Namhyung Kim
maintainerPATCH 1/4 perf hist browser: Fix indentation of folded sign on --hierarchy
It should indent 2 spaces for folded sign and a whitespace.
--- tools/perf/ui/browsers/hists.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/ui/browsers/hists.c +3 -3
@@ -1337,8 +1337,8 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }if (first) { -ui_browser__printf (&browser->b,"%c" , folded_sign); - width--; +ui_browser__printf (&browser->b,"%c " , folded_sign); + width -=2 ; first = false; }else {ui_browser__printf (&browser->b," " );
@@ -1555,7 +1555,7 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browsint indent = hists->nr_hpp_node -2 ;bool first_node, first_col; - ret =scnprintf (buf, size," " ); + ret =scnprintf (buf, size," " );if (advance_hpp_check (&dummy_hpp, ret))return ret;
Signature · 1 line
2.10.1
tip-bot for Namhyung Kim
merge bot[tip:perf/urgent] perf hists browser: Fix indentation of folded sign on --hierarchy
perf hists browser: Fix indentation of folded sign on --hierarchy
Commit-ID: 3d9f4683929a968dc9b9493f4e608b109ad292a2 Gitweb: http://git.kernel.org/tip/3d9f4683929a968dc9b9493f4e608b109ad292a2 Author: Namhyung Kim <[email protected]> AuthorDate: Tue, 8 Nov 2016 22:08:30 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 9 Nov 2016 11:20:56 -0300
perf hists browser: Fix indentation of folded sign on --hierarchy
It should indent 2 spaces for folded sign and a whitespace.
--- tools/perf/ui/browsers/hists.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
tools/perf/ui/browsers/hists.c +3 -3
@@ -1337,8 +1337,8 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }if (first) { -ui_browser__printf (&browser->b,"%c" , folded_sign); - width--; +ui_browser__printf (&browser->b,"%c " , folded_sign); + width -=2 ; first = false; }else {ui_browser__printf (&browser->b," " );
@@ -1555,7 +1555,7 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browsint indent = hists->nr_hpp_node -2 ;bool first_node, first_col; - ret =scnprintf (buf, size," " ); + ret =scnprintf (buf, size," " );if (advance_hpp_check (&dummy_hpp, ret))return ret;
Namhyung Kim
maintainerPATCH 2/4 perf hist browser: Show folded sign properly on --hierarchy
In reply to Namhyung KimWhen horizontall scrolling is used in hierarchy mode, the folded signed disappears at the right most column.
--- tools/perf/ui/browsers/hists.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)
tools/perf/ui/browsers/hists.c +8 -2
@@ -1381,8 +1381,14 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }perf_hpp_list__for_each_format (entry->hpp_list, fmt) { -ui_browser__write_nstring (&browser->b,"" ,2 ); - width -=2 ; +if (first) { +ui_browser__printf (&browser->b,"%c " , folded_sign); + width -=2 ; + first = false; + }else { +ui_browser__write_nstring (&browser->b,"" ,2 ); + width -=2 ; + }/* * No need to call hist_entry__snprintf_alignment()
Signature · 1 line
2.10.1
Arnaldo Carvalho de Melo
maintainerRe: [PATCH 2/4] perf hist browser: Show folded sign properly on --hierarchy
Em Tue, Nov 08, 2016 at 10:08:31PM +0900, Namhyung Kim escreveu:
Quoted 2 lines
When horizontall scrolling is used in hierarchy mode, the folded signed disappears at the right most column.
Humm, this indeed shows the '+' folded signal after pressing ->, but it moves from the first to the third column :-\
- Arnaldo
Quoted 28 lines
Signed-off-by Namhyung Kim <[email protected]>--- tools/perf/ui/browsers/hists.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-)tools/perf/ui/browsers/hists.c +8
-2@@ -1381,8 +1381,14 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }perf_hpp_list__for_each_format (entry->hpp_list, fmt) { -ui_browser__write_nstring (&browser->b,"" ,2 ); - width -=2 ; +if (first) { +ui_browser__printf (&browser->b,"%c " , folded_sign); + width -=2 ; + first = false; + }else { +ui_browser__write_nstring (&browser->b,"" ,2 ); + width -=2 ; + }/* * No need to call hist_entry__snprintf_alignment() Signature · 1 line
2.10.1
Arnaldo Carvalho de Melo
maintainerRe: [PATCH 2/4] perf hist browser: Show folded sign properly on --hierarchy
Em Wed, Nov 09, 2016 at 11:28:11AM -0300, Arnaldo Carvalho de Melo escreveu:
Quoted 7 lines
Em Tue, Nov 08, 2016 at 10:08:31PM +0900, Namhyung Kim escreveu:
Quoted 2 lines
When horizontall scrolling is used in hierarchy mode, the folded signed disappears at the right most column.
Humm, this indeed shows the '+' folded signal after pressing ->, but it moves from the first to the third column :-\
Quoted 7 lines
tools/perf/ui/browsers/hists.c static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, · line 1385
Quoted 7 lines
+++
b/tools/perf/ui/browsers/hists.ctools/perf/ui/browsers/hists.c +0
-2@@ -1381,8 +1381,14 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }perf_hpp_list__for_each_format (entry->hpp_list, fmt) { -ui_browser__write_nstring (&browser->b,"" ,2 ); - width -=2 ;
Also why move this invariant to both branches?
Quoted 13 lines
Quoted 13 lines
tools/perf/ui/browsers/hists.c +8
-0+if (first) { +ui_browser__printf (&browser->b,"%c " , folded_sign); + width -=2 ; + first = false; + }else { +ui_browser__write_nstring (&browser->b,"" ,2 ); + width -=2 ; + }/* * No need to call hist_entry__snprintf_alignment() Signature · 1 line
2.10.1
tip-bot for Namhyung Kim
merge bot[tip:perf/urgent] perf hists browser: Show folded sign properly on --hierarchy
In reply to Namhyung Kimperf hists browser: Show folded sign properly on --hierarchy
Commit-ID: 131d51eb1d17aac3a604cf929fd99ff4dd34f495 Gitweb: http://git.kernel.org/tip/131d51eb1d17aac3a604cf929fd99ff4dd34f495 Author: Namhyung Kim <[email protected]> AuthorDate: Tue, 8 Nov 2016 22:08:31 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 9 Nov 2016 11:30:47 -0300
perf hists browser: Show folded sign properly on --hierarchy
When horizontal scrolling is used in hierarchy mode, the folded signed disappears at the right most column.
Committer note:
To test it, run 'perf top --hierarchy, see the '+' symbol at the first column, then press the right arrow key, the '+' symbol will disappear, this patch fixes that.
--- tools/perf/ui/browsers/hists.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
tools/perf/ui/browsers/hists.c +7 -1
@@ -1381,7 +1381,13 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, }perf_hpp_list__for_each_format (entry->hpp_list, fmt) { -ui_browser__write_nstring (&browser->b,"" ,2 ); +if (first) { +ui_browser__printf (&browser->b,"%c " , folded_sign); + first = false; + }else { +ui_browser__write_nstring (&browser->b,"" ,2 ); + } + width -=2 ;/*
Namhyung Kim
maintainerPATCH 3/4 perf hist browser: Fix column indentation on --hierarchy
In reply to Namhyung KimWhen horizontall scrolling is used in hierarchy mode, the the right most column has unnecessary indentation. Actually it's needed only if some of left (overhead) columns were shown.
--- tools/perf/ui/browsers/hists.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)
tools/perf/ui/browsers/hists.c +13 -6
@@ -1361,8 +1361,10 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, width -= hpp.buf - s; } -ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); - width -= hierarchy_indent; +if (!first) { +ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); + width -= hierarchy_indent; + }if (column >= browser->b.horiz_scroll) {char s[2048 ];
@@ -1565,6 +1567,7 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browsif (advance_hpp_check (&dummy_hpp, ret))return ret; + first_node = true;/* the first hpp_list_node is for overhead columns */ fmt_node =list_first_entry (&hists->hpp_formats, struct perf_hpp_list_node, list);
@@ -1579,12 +1582,16 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *brows ret =scnprintf (dummy_hpp.buf, dummy_hpp.size," " );if (advance_hpp_check (&dummy_hpp, ret))break ; + + first_node = false; } - ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , - indent *HIERARCHY_INDENT ,"" ); -if (advance_hpp_check (&dummy_hpp, ret)) -return ret; +if (!first_node) { + ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , + indent *HIERARCHY_INDENT ,"" ); +if (advance_hpp_check (&dummy_hpp, ret)) +return ret; + } first_node = true;list_for_each_entry_continue (fmt_node, &hists->hpp_formats, list) {
Signature · 1 line
2.10.1
Arnaldo Carvalho de Melo
maintainerRe: [PATCH 3/4] perf hist browser: Fix column indentation on --hierarchy
Em Tue, Nov 08, 2016 at 10:08:32PM +0900, Namhyung Kim escreveu:
Quoted 3 lines
When horizontall scrolling is used in hierarchy mode, the the right most column has unnecessary indentation. Actually it's needed only if some of left (overhead) columns were shown.
I see, here is the fix, thanks, testing it now...
- Arnaldo
Quoted 53 lines
Signed-off-by Namhyung Kim <[email protected]>--- tools/perf/ui/browsers/hists.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)tools/perf/ui/browsers/hists.c +13
-6@@ -1361,8 +1361,10 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, width -= hpp.buf - s; } -ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); - width -= hierarchy_indent; +if (!first) { +ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); + width -= hierarchy_indent; + }if (column >= browser->b.horiz_scroll) {char s[2048 ];@@ -1565,6 +1567,7 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browsif (advance_hpp_check (&dummy_hpp, ret))return ret; + first_node = true;/* the first hpp_list_node is for overhead columns */ fmt_node =list_first_entry (&hists->hpp_formats, struct perf_hpp_list_node, list);@@ -1579,12 +1582,16 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *brows ret =scnprintf (dummy_hpp.buf, dummy_hpp.size," " );if (advance_hpp_check (&dummy_hpp, ret))break ; + + first_node = false; } - ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , - indent *HIERARCHY_INDENT ,"" ); -if (advance_hpp_check (&dummy_hpp, ret)) -return ret; +if (!first_node) { + ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , + indent *HIERARCHY_INDENT ,"" ); +if (advance_hpp_check (&dummy_hpp, ret)) +return ret; + } first_node = true;list_for_each_entry_continue (fmt_node, &hists->hpp_formats, list) {Signature · 1 line
2.10.1
tip-bot for Namhyung Kim
merge bot[tip:perf/urgent] perf hists browser: Fix column indentation on --hierarchy
In reply to Namhyung Kimperf hists browser: Fix column indentation on --hierarchy
Commit-ID: b9bf911e990a189f89147ee6b66660a153ed0125 Gitweb: http://git.kernel.org/tip/b9bf911e990a189f89147ee6b66660a153ed0125 Author: Namhyung Kim <[email protected]> AuthorDate: Tue, 8 Nov 2016 22:08:32 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 9 Nov 2016 11:45:58 -0300
perf hists browser: Fix column indentation on --hierarchy
When horizontall scrolling is used in hierarchy mode, the the right most column has unnecessary indentation. Actually it's needed only if some of left (overhead) columns were shown.
--- tools/perf/ui/browsers/hists.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-)
tools/perf/ui/browsers/hists.c +13 -6
@@ -1361,8 +1361,10 @@ static int hist_browser__show_hierarchy_entry(struct hist_browser *browser, width -= hpp.buf - s; } -ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); - width -= hierarchy_indent; +if (!first) { +ui_browser__write_nstring (&browser->b,"" , hierarchy_indent); + width -= hierarchy_indent; + }if (column >= browser->b.horiz_scroll) {char s[2048 ];
@@ -1565,6 +1567,7 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *browsif (advance_hpp_check (&dummy_hpp, ret))return ret; + first_node = true;/* the first hpp_list_node is for overhead columns */ fmt_node =list_first_entry (&hists->hpp_formats, struct perf_hpp_list_node, list);
@@ -1579,12 +1582,16 @@ static int hists_browser__scnprintf_hierarchy_headers(struct hist_browser *brows ret =scnprintf (dummy_hpp.buf, dummy_hpp.size," " );if (advance_hpp_check (&dummy_hpp, ret))break ; + + first_node = false; } - ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , - indent *HIERARCHY_INDENT ,"" ); -if (advance_hpp_check (&dummy_hpp, ret)) -return ret; +if (!first_node) { + ret =scnprintf (dummy_hpp.buf, dummy_hpp.size,"%*s" , + indent *HIERARCHY_INDENT ,"" ); +if (advance_hpp_check (&dummy_hpp, ret)) +return ret; + } first_node = true;list_for_each_entry_continue (fmt_node, &hists->hpp_formats, list) {
Namhyung Kim
maintainerPATCH 4/4 perf hists: Fix column length on --hierarchy
In reply to Namhyung KimMarkus reported that there's a weird behavior on perf top --hierarch regarding the column length. Looking at the code, I found a debious code which affects the symtoms. When --hierarchy option is used, the last column length might be inaccurate since it skips to update the length on leaf entries. I cannot remember why it did and looks like a leftover from previous version during the development. Anyway updating the column length often is not harmful. So let's move the code out.
--- tools/perf/util/hist.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
tools/perf/util/hist.c +6 -6
@@ -1601,18 +1601,18 @@ static void hists__hierarchy_output_resort(struct hists *hists,if (prog)ui_progress__update (prog,1 ); + hists->nr_entries++; +if (!he->filtered) { + hists->nr_non_filtered_entries++; +hists__calc_col_len (hists, he); + } +if (!he->leaf) {hists__hierarchy_output_resort (hists, prog, &he->hroot_in, &he->hroot_out, min_callchain_hits, use_callchain); - hists->nr_entries++; -if (!he->filtered) { - hists->nr_non_filtered_entries++; -hists__calc_col_len (hists, he); - } -continue ; }
Signature · 1 line
2.10.1
tip-bot for Namhyung Kim
merge bot[tip:perf/urgent] perf hists: Fix column length on --hierarchy
perf hists: Fix column length on --hierarchy
Commit-ID: c72ab446cac1d6c9551fd26c4cfef1b2fc5041fd Gitweb: http://git.kernel.org/tip/c72ab446cac1d6c9551fd26c4cfef1b2fc5041fd Author: Namhyung Kim <[email protected]> AuthorDate: Tue, 8 Nov 2016 22:08:33 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Wed, 9 Nov 2016 11:55:29 -0300
perf hists: Fix column length on --hierarchy
Markus reported that there's a weird behavior on perf top --hierarchy regarding the column length.
Looking at the code, I found a dubious code which affects the symptoms. When --hierarchy option is used, the last column length might be inaccurate since it skips to update the length on leaf entries.
I cannot remember why it did and looks like a leftover from previous version during the development.
Anyway, updating the column length often is not harmful. So let's move the code out.
--- tools/perf/util/hist.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
tools/perf/util/hist.c +6 -6
@@ -1600,18 +1600,18 @@ static void hists__hierarchy_output_resort(struct hists *hists,if (prog)ui_progress__update (prog,1 ); + hists->nr_entries++; +if (!he->filtered) { + hists->nr_non_filtered_entries++; +hists__calc_col_len (hists, he); + } +if (!he->leaf) {hists__hierarchy_output_resort (hists, prog, &he->hroot_in, &he->hroot_out, min_callchain_hits, use_callchain); - hists->nr_entries++; -if (!he->filtered) { - hists->nr_non_filtered_entries++; -hists__calc_col_len (hists, he); - } -continue ; }
Quoted 9 lines · Namhyung Kim
Hello,
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
It looks perfect now. Many thanks for your fixes.
Signature · 1 line
Markus
Arnaldo Carvalho de Melo
maintainerEm Tue, Nov 08, 2016 at 02:21:17PM +0100, Markus Trippelsdorf escreveu:
Quoted 7 lines · Namhyung Kim
Quoted 6 lines
Hello,
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
Quoted 5 lines
Quoted 3 lines
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
It looks perfect now. Many thanks for your fixes.
Ok, I'll take that as a Tested-by: Markus, ok?
- Arnaldo
Quoted 8 lines · Arnaldo Carvalho de Melo
Em Tue, Nov 08, 2016 at 02:21:17PM +0100, Markus Trippelsdorf escreveu:
Quoted 7 lines · Namhyung Kim
Quoted 6 lines
Hello,
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
Quoted 7 lines
Quoted 5 lines
Quoted 3 lines
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
It looks perfect now. Many thanks for your fixes.
Ok, I'll take that as a Tested-by: Markus, ok?
Sure, feel free.
Thanks.
Signature · 1 line
Markus
Quoted 8 lines · Namhyung Kim
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
By the way, I hope that:
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/core&id=8a06b0be6507f97f3aa92ca814335b8b65fd3de2
doesn't fall through the cracks.
Signature · 1 line
Markus
Namhyung Kim
maintainerHello,
Quoted 6 lines · Markus Trippelsdorf
Quoted 5 lines · Namhyung Kim
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
Quoted 7 lines
Quoted 3 lines
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
By the way, I hope that:
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/core&id=8a06b0be6507f97f3aa92ca814335b8b65fd3de2
doesn't fall through the cracks.
What do you mean? It's already in the tip/perf/core so will be merged to the mainline eventually.
Thanks,
Namhyung
Quoted 12 lines · Namhyung Kim
Hello,
Quoted 8 lines · Markus Trippelsdorf
Quoted 7 lines · Namhyung Kim
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git
Quoted 8 lines
Quoted 5 lines
Quoted 1 line
Any feedbacks are welcomed.
By the way, I hope that:
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/core&id=8a06b0be6507f97f3aa92ca814335b8b65fd3de2
doesn't fall through the cracks.What do you mean? It's already in the tip/perf/core so will be merged to the mainline eventually.
Ok. I was just wondering, because it sits there for two weeks already...
Signature · 1 line
Markus
Arnaldo Carvalho de Melo
maintainerEm Tue, Nov 08, 2016 at 04:10:23PM +0100, Markus Trippelsdorf escreveu:
Quoted 12 lines · Namhyung Kim
Quoted 10 lines
Quoted 8 lines · Markus Trippelsdorf
Quoted 7 lines · Namhyung Kim
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
By the way, I hope that:
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/core&id=8a06b0be6507f97f3aa92ca814335b8b65fd3de2
doesn't fall through the cracks.What do you mean? It's already in the tip/perf/core so will be merged to the mainline eventually.
Ok. I was just wondering, because it sits there for two weeks already...
If you think something qualifies for perf/urgent, i.e. to go to a kernel that is in -rc stage, v4.9-rc4 now, for instance, please point that out and I'll consider it.
- Arnaldo
Quoted 17 lines · Arnaldo Carvalho de Melo
Em Tue, Nov 08, 2016 at 04:10:23PM +0100, Markus Trippelsdorf escreveu:
Quoted 15 lines · Namhyung Kim
Quoted 14 lines
Quoted 12 lines · Markus Trippelsdorf
Quoted 7 lines · Namhyung Kim
This patches fix problems in hierarchy output Markus reported some time ago. The code is available on the 'perf/hierarchy-fix-v1' branch in my tree:
git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.gitAny feedbacks are welcomed.
By the way, I hope that:
https://git.kernel.org/cgit/linux/kernel/git/tip/tip.git/commit/?h=perf/core&id=8a06b0be6507f97f3aa92ca814335b8b65fd3de2
doesn't fall through the cracks.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
What do you mean? It's already in the tip/perf/core so will be merged to the mainline eventually.
Ok. I was just wondering, because it sits there for two weeks already...
If you think something qualifies for perf/urgent, i.e. to go to a kernel that is in -rc stage, v4.9-rc4 now, for instance, please point that out and I'll consider it.
Because "perf top --hierarchy" is new in 4.9, I think all fixes for that feature qualify for perf/urgent by default.
Signature · 1 line
Markus