From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934457AbdACKjo (ORCPT ); Tue, 3 Jan 2017 05:39:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55834 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934189AbdACKjg (ORCPT ); Tue, 3 Jan 2017 05:39:36 -0500 Date: Tue, 3 Jan 2017 11:39:32 +0100 From: Jiri Olsa To: "Wangnan (F)" Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Peter Zijlstra , Namhyung Kim , David Ahern Subject: Re: [PATCH 0/7] perf tools: Add switch-output size and time threshold options Message-ID: <20170103103932.GA6767@krava> References: <1483431600-19887-1-git-send-email-jolsa@kernel.org> <60078f5d-0497-4567-ff1c-099c879fcf0d@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <60078f5d-0497-4567-ff1c-099c879fcf0d@huawei.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Tue, 03 Jan 2017 10:39:37 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 03, 2017 at 05:51:46PM +0800, Wangnan (F) wrote: > > > On 2017/1/3 16:19, Jiri Olsa wrote: > > hi, > > adding a way to configure switch data output > > for size and time, like: > > > > $ sudo perf record -e 'sched:*' --switch-output=10M -avg > > callchain: type FP > > switch-output with 10M size threshold > > mmap size 528384B > > [ perf record: dump data: Woken up 37 times ] > > [ perf record: Dump perf.data.2017010309135512 ] > > [ perf record: dump data: Woken up 39 times ] > > [ perf record: Dump perf.data.2017010309135771 ] > > [ perf record: dump data: Woken up 38 times ] > > [ perf record: Dump perf.data.2017010309140005 ] > > ^C[ perf record: Woken up 16 times to write data ] > > [ perf record: Dump perf.data.2017010309140111 ] > > [ perf record: Captured and wrote 4.748 MB perf.data. ] > > ... > > > > the default for switch-output option stays > > and does the SIGUSR2 output switch > > > > Also available in: > > git://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git > > perf/fixes > > > > thanks, > > jirka > > > > > > Cc: Wang Nan > > --- > > Good functions, and thank you for fixing documentations. > > You didn't cc patch 1 and 2 to me. sry, will do next time.. thanks ;-) jirka