lkml.org 
[lkml]   [2016]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: perf object code reading test crashes
    Em Thu, Feb 18, 2016 at 11:27:27AM -0300, Arnaldo Carvalho de Melo escreveu:
    > Oops, guess this is the problem, and I also think we don't need more than 1 hz
    > in this test if even that :-\
    >
    > So, try the patch at the end of this message, with it and with I get:

    Ok, so this test actually process samples, so please just replace that
    with a lower freq, say 10.

    > diff --git a/tools/perf/tests/code-reading.c b/tools/perf/tests/code-reading.c
    > index 313a48c6b2bc..a984accdaa74 100644
    > --- a/tools/perf/tests/code-reading.c
    > +++ b/tools/perf/tests/code-reading.c
    > @@ -439,7 +439,6 @@ static int do_test_code_reading(bool try_kcore)
    > .mmap_pages = UINT_MAX,
    > .user_freq = UINT_MAX,
    > .user_interval = ULLONG_MAX,
    > - .freq = 4000,
    > .target = {
    > .uses_mmap = true,
    > },

    \
     
     \ /
      Last update: 2016-02-18 16:01    [W:3.827 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site