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


Groups > linux.kernel > #1337402

Re: perf object code reading test crashes

From Arnaldo Carvalho de Melo <acme@kernel.org>
Newsgroups linux.kernel
Subject Re: perf object code reading test crashes
Date 2016-02-18 15:40 +0100
Message-ID <r3xUl-716-5@gated-at.bofh.it> (permalink)
References <r3lqa-6kC-7@gated-at.bofh.it> <r3xKG-6WT-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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,
>  		},

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


Thread

perf object code reading test crashes Steven Noonan <steven@uplinklabs.net> - 2016-02-17 07:50 +0100
  Re: perf object code reading test crashes Arnaldo Carvalho de Melo <acme@redhat.com> - 2016-02-17 15:00 +0100
    Re: perf object code reading test crashes Steven Noonan <steven@uplinklabs.net> - 2016-02-18 02:20 +0100
      Re: perf object code reading test crashes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-02-18 15:30 +0100
        Re: perf object code reading test crashes Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-02-18 15:40 +0100

csiph-web