lkml.org 
[lkml]   [2014]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 08/19] perf c2c: Shared data analyser
    On Fri, Feb 28, 2014 at 01:03:31PM -0800, Davidlohr Bueso wrote:
    > On Fri, 2014-02-28 at 14:46 -0500, Don Zickus wrote:
    > > On Fri, Feb 28, 2014 at 11:08:59AM -0800, Andi Kleen wrote:
    > > > Don Zickus <dzickus@redhat.com> writes:
    > > > > +
    > > > > +static const struct perf_evsel_str_handler handlers[] = {
    > > > > + { "cpu/mem-loads,ldlat=30/pp", perf_c2c__process_load, },
    > > > > + { "cpu/mem-stores/pp", perf_c2c__process_store, },
    > > >
    >
    > Hmm I'm getting this when running a simple record command.
    >
    > invalid or unsupported event: 'cpu/mem-loads/pp'
    >
    > This only occurs with c2c, other subcommands work normally. It's as if
    > it were an old kernel, but it's Linus' latest. Is this an issue with the
    > patch or something I'm missing?

    Does rebooting or 'echo 100000 > /proc/sys/kernel/perf_event_max_sample_rate'

    fix the problem? Perf throttling might have lowered your sample rate so
    low that you can't do anything any more. Though if you are running the
    latest from Linus a lot of fixes should be in there to minimize that
    problem.

    What processor are you on?

    Cheers,
    Don

    >
    > Furthermore, I see:
    > ls /sys/bus/event_source/devices/cpu/events
    > branch-instructions branch-misses cache-misses cache-references cpu-cycles instructions mem-loads
    >
    > Thanks!
    >
    >
    >


    \
     
     \ /
      Last update: 2014-03-03 15:41    [W:4.969 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site