lkml.org 
[lkml]   [2016]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 01/14] perf/x86: Introduce PERF_RECORD_OVERHEAD
    On Wed, Nov 23, 2016 at 04:44:39AM -0500, kan.liang@intel.com wrote:
    > +/*
    > + * single overhead record layout:
    > + *
    > + * cpu: The cpu which overhead occues

    This is duplicate information, its already present in sample_id when
    PERF_SAMPLE_CPU, and without that we don't care.

    > + * nr: Times of overhead happens.
    > + * E.g. for NMI, nr == times of NMI handler are called.
    > + * time: Total overhead cost(ns)
    > + */
    > +struct perf_overhead_entry {
    > + __u32 cpu;
    > + __u64 nr;
    > + __u64 time;
    > +};

    \
     
     \ /
      Last update: 2016-11-23 21:14    [W:4.199 / U:0.156 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site