Re: Port the period data column to centos6.7 for perf script

2017-09-15 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 14, 2017 at 09:21:54PM -0700, Andi Kleen escreveu: > On Fri, Sep 15, 2017 at 10:24:15AM +0800, 禹舟键 wrote: > >Hi, all. > >I want to draw off-cpu flamegraph using perf script on centos6.7(kernel > >version, 2.6.32-573), and I found perf script lacks the period data > >

Re: Port the period data column to centos6.7 for perf script

2017-09-15 Thread Arnaldo Carvalho de Melo
Em Thu, Sep 14, 2017 at 09:21:54PM -0700, Andi Kleen escreveu: > On Fri, Sep 15, 2017 at 10:24:15AM +0800, 禹舟键 wrote: > >Hi, all. > >I want to draw off-cpu flamegraph using perf script on centos6.7(kernel > >version, 2.6.32-573), and I found perf script lacks the period data > >

Re: Port the period data column to centos6.7 for perf script

2017-09-14 Thread Andi Kleen
On Fri, Sep 15, 2017 at 10:24:15AM +0800, 禹舟键 wrote: >Hi, all. >I want to draw off-cpu flamegraph using perf script on centos6.7(kernel >version, 2.6.32-573), and I found perf script lacks the period data column >on that version. I  found two related patches, and modifed >

Re: Port the period data column to centos6.7 for perf script

2017-09-14 Thread Andi Kleen
On Fri, Sep 15, 2017 at 10:24:15AM +0800, 禹舟键 wrote: >Hi, all. >I want to draw off-cpu flamegraph using perf script on centos6.7(kernel >version, 2.6.32-573), and I found perf script lacks the period data column >on that version. I  found two related patches, and modifed >

Port the period data column to centos6.7 for perf script

2017-09-14 Thread yuzhoujian
Hi, all. I want to draw off-cpu flamegraph using perf script on centos6.7 (kernel version, 2.6.32-573), and I found perf script lacks the period data column on that version. I found two related patches, and modifed builin-script.c in reference to those patches. perf script:Add period data column

Port the period data column to centos6.7 for perf script

2017-09-14 Thread yuzhoujian
Hi, all. I want to draw off-cpu flamegraph using perf script on centos6.7 (kernel version, 2.6.32-573), and I found perf script lacks the period data column on that version. I found two related patches, and modifed builin-script.c in reference to those patches. perf script:Add period data column