lkml.org 
[lkml]   [2017]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Port the period data column to centos6.7 for perf script
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
> builin-script.c in reference to those patches.
> perf script:Add period data column authorJiri Olsa 2014-08-25 16:45:42
> +0200 commit535aeaae7de821ba5d43ee2a204ee667ca95aae4
> perf script: Add period as a default output column
> commite8564b710c6df2c3aeb56c507c22f4bcfa4c0b2d)
>

I would just compile the newer perf binary for Centos6 and use that. It should
work with older kernels too. That's much easier than backporting, and you get
many more features.

-Andi

\
 
 \ /
  Last update: 2017-09-15 06:22    [W:0.035 / U:1.524 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site