lkml.org 
[lkml]   [2021]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/3] perf/x86: Add new event for AUX output counter index
    On Wed, Jun 09, 2021 at 05:20:53PM +0300, Adrian Hunter wrote:
    > diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
    > index f5a6a2f069ed..18bfa05537ab 100644
    > --- a/include/linux/perf_event.h
    > +++ b/include/linux/perf_event.h
    > @@ -141,6 +141,7 @@ struct hw_perf_event {
    > unsigned long event_base;
    > int event_base_rdpmc;
    > int idx;
    > + int idx_reported;
    > int last_cpu;
    > int flags;
    >

    This is sad, it blows up the largest element in that union from 96 to
    104 bytes.

    Is there really no better place for this?

    \
     
     \ /
      Last update: 2021-06-25 14:07    [W:3.984 / U:0.116 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site