From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1946369AbcBROgI (ORCPT ); Thu, 18 Feb 2016 09:36:08 -0500 Received: from mail.kernel.org ([198.145.29.136]:53037 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424150AbcBROgE (ORCPT ); Thu, 18 Feb 2016 09:36:04 -0500 Date: Thu, 18 Feb 2016 11:36:00 -0300 From: Arnaldo Carvalho de Melo To: Steven Noonan Cc: Linux Kernel mailing List , Adrian Hunter Subject: Re: perf object code reading test crashes Message-ID: <20160218143600.GE9909@kernel.org> References: <20160218142727.GD9909@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160218142727.GD9909@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, > },