lkml.org 
[lkml]   [2017]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectSupport Intel uncore event lists
    Date
    This adds uncore support on top of the recently merged JSON event list
    infrastructure for core events. Uncore is everything outside the core,
    including memory controllers, PCI, interconnect etc.

    Uncore is more complicated to handle than core events because it uses
    many duplicated PMUs, which leads to long event lists and verbose duplicated
    outputs.

    In fact previously it was nearly unusable for many cases without special
    tools to generate event list and aggregate data (such as
    https://github.com/andikleen/pmu-tools/tree/master/ucevent)

    With this patchkit we add:
    - Basic support for uncore events in JSON events
    - Support aliases that get duplicated over many PMUs transparently
    - Support summing up duplicated PMUs per socket
    - Support extending the perf stat builtin metrics with simple expressions
    specified in the event list.

    So far mainly servers are supported. Also this is not using full event lists
    (which are full of very obscure events) but only for a smaller subset of
    curated useful and understandable metrics.

    The actual event lists are not posted, but available at
    git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/intel-uncore-json-files-3

    The code is available here
    git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc perf/builtin-json-25

    v1: Initial post
    v2: Address review feedback. See changelog in commits.
    v3: Repost. Rebase to latest tree.
    v4: Rebase. Change DividedBy to generic simple expression parser.
    Fix refactoring problem that broke git bisect.
    v5: Address review feedback. See changelog in commits. Add acks.

    -Andi

    \
     
     \ /
      Last update: 2017-01-28 03:04    [W:6.303 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site