Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1456599

Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG

From David Carrillo-Cisneros <davidcc@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG
Date 2016-08-04 19:30 +0200
Message-ID <s2uCZ-41d-3@gated-at.bofh.it> (permalink)
References <s1ypj-786-3@gated-at.bofh.it> <s1ypj-786-11@gated-at.bofh.it> <s2srv-2sp-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>>       struct list_head                sb_list;
>> +
>> +     /* Per-event flags to generic code set by PMU. */
>> +     int                             pmu_event_flags;
>> +
>
> It appears to me we already have group_flags and attach_state which both
> are serialized by ctx->lock.
>
> Could we maybe merge the lot into one flags field?

Sounds good, I will do that.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] remove unnecessary IPI reading uncore events David Carrillo-Cisneros <davidcc@google.com> - 2016-08-02 05:20 +0200
  [PATCH 3/3] perf/x86: use PMUEF_READ_CPU_PKG in uncore events David Carrillo-Cisneros <davidcc@google.com> - 2016-08-02 05:20 +0200
  [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG David Carrillo-Cisneros <davidcc@google.com> - 2016-08-02 05:20 +0200
    Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and  PMUEF_READ_CPU_PKG Peter Zijlstra <peterz@infradead.org> - 2016-08-04 17:10 +0200
      Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG David Carrillo-Cisneros <davidcc@google.com> - 2016-08-04 19:30 +0200
    Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and  PMUEF_READ_CPU_PKG Peter Zijlstra <peterz@infradead.org> - 2016-08-04 17:10 +0200
      Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and  PMUEF_READ_CPU_PKG Peter Zijlstra <peterz@infradead.org> - 2016-08-04 19:30 +0200
        Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG David Carrillo-Cisneros <davidcc@google.com> - 2016-08-04 19:50 +0200
      Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and PMUEF_READ_CPU_PKG David Carrillo-Cisneros <davidcc@google.com> - 2016-08-04 19:40 +0200
    Re: [PATCH 2/3] perf/core: introduce pmu_event_flags and  PMUEF_READ_CPU_PKG Peter Zijlstra <peterz@infradead.org> - 2016-08-04 17:50 +0200
  [PATCH 1/3] perf/core: check return value of perf_event_read IPI David Carrillo-Cisneros <davidcc@google.com> - 2016-08-02 06:40 +0200
  Re: [PATCH 0/3] remove unnecessary IPI reading uncore events Andi Kleen <ak@linux.intel.com> - 2016-08-02 17:30 +0200

csiph-web