lkml.org 
[lkml]   [2019]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] [PATCH v2 0/5] Intel Virtual PMU Optimization
    > It isn't going anywhere anyway, its insane. You let perf do all its
    > normal things and then discard the results by avoiding the wrmsr.
    >
    > Then you fudge a second wrmsr path somewhere.
    >
    > Please, just make the existing event dtrt.

    I still think the right way is to force an event to a counter
    from an internal field. And then set that field from KVM.
    This is quite straight forward to do in the event scheduler.

    I did it for some experimential PEBS virtualization patches
    which require the same because they have to expose the
    counter indexes inside the PEBS record to the guest.

    -Andi

    \
     
     \ /
      Last update: 2019-03-25 16:58    [W:2.473 / U:0.144 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site