lkml.org 
[lkml]   [2010]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 00/12] perf: introduce model specific events and AMD IBS
    From
    Date
    On Tue, 2010-04-13 at 22:23 +0200, Robert Richter wrote:
    > This patch series introduces model specific events and impments AMD
    > IBS (Instruction Based Sampling) for perf_events.

    I would much rather it uses the ->precise thing PEBS also uses,
    otherwise we keep growing funny arch extensions and end up with a
    totally fragmented trainwreck of an ABI.

    > The general approach is to introduce a flag to mark an event as model
    > specific. With that flag set a model specific ibs (raw) config value
    > can be passed to the pmu for setup. When there are ibs samples
    > available, it is sent back as a raw data sample to the userland. So we
    > have a raw config value and raw sampling data. This requires the
    > userland to setup ibs and further extract and process sampling data.
    >
    > Patches 1-8 rework and refactor the code to prepare the ibs
    > implementation. This is done in patches 9-12.
    >
    > I will add ibs example code to libpfm4.

    Please add a valid usecase to tools/perf/ instead.



    \
     
     \ /
      Last update: 2010-04-15 09:47    [W:6.450 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site