lkml.org 
[lkml]   [2014]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH v3 00/14] perf, x86: Haswell LBR call stack support
    From
    On Wed, Feb 26, 2014 at 3:39 AM, Andy Lutomirski <luto@amacapital.net> wrote:
    > On 02/17/2014 10:07 PM, Yan, Zheng wrote:
    >>
    >> This patch series adds LBR call stack support. User can enabled/disable
    >> this through an sysfs attribute file in the CPU PMU directory:
    >> echo 1 > /sys/bus/event_source/devices/cpu/lbr_callstack
    >
    > This seems like an unpleasant way to control this. It would be handy to
    > be able to control this as an option to perf record.
    >
    That would mean you'd be root for perf.
    Or are you suggesting a perf event option? But then, you'd expose arch-specific
    feature at the API level.

    > --Andy


    \
     
     \ /
      Last update: 2014-02-26 08:41    [W:4.086 / U:0.308 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site