Received: by 2002:ac0:8c9a:0:0:0:0:0 with SMTP id r26csp3641692ima; Mon, 4 Feb 2019 02:39:38 -0800 (PST) X-Google-Smtp-Source: AHgI3IbgGJc0dFxhl8zMjmjlLniot7F4rmGizxbWlhzz/OClnYluZd3YoWvuANrH/58jF77g81az X-Received: by 2002:a65:4946:: with SMTP id q6mr12124822pgs.201.1549276778747; Mon, 04 Feb 2019 02:39:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549276778; cv=none; d=google.com; s=arc-20160816; b=Z8c5dFIrNs1+D1iahaFpi4ULIHzCStm1j0lF/8rEjkRKw5cm73P7WtMZhpjz+/3B6n bC+Y5U2y29zEPOzBsbkyISF2VJUUpOJHAV72azCQJXuHE3pDQPNNZECqDjbTj5J3FncY mn+sCpLiraqDzoOUwxwJNoiUVaj1plOsgNp4Tn2079ndisk1R7O31KOajUpN4LxtY1fs DHdUQ0WUVzjNHzLXASX37K0qTEi9kG4UxUi1vXqeTMQIUqAhLJSHN5pkrOM9XWgqhOFz wJZlwurScHDG+eolI7Z+H+gD7Q1pcOZ/y/een3BZeDVe5I8mAievvkgJ1S0Pl0WaFXAB wXIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=xFlrez3ytoS6zxtzgBDeeOo50IGI3K71lhIOg1irqmM=; b=cUtVdo1q5V1+nuYIEd7cAilv50oaVMOlv9ZKdbmOJ2rdSMjTlG2xCsiK5rHIqIzsNX h4TW9aeAMWg5jESJj7BHG/JJqJwDFOOaOUgUvoCoi7IkRxKuEG9URRu883gP0OqRsPbX jYbPGL4miwTwflmmrsm4aFqlNNBNcZJKqvrpjp8XAHoKbZAS37HCDVAD91cyl1XrQws6 wzEDZWZUUMrPjjfXBoHjADaAzSD+XBbY9ghlRB32c1DzrbnEMm/5jMZhSyjsYsi56cjg FFTMQkBT4t3rvvCbegUYV5iCQD0qAkpN02PUMZIJQmJzUiVT3Y3YpDRJ+quVhgKHF3+W aKcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t20si16600554plj.94.2019.02.04.02.39.22; Mon, 04 Feb 2019 02:39:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728694AbfBDKgr (ORCPT + 99 others); Mon, 4 Feb 2019 05:36:47 -0500 Received: from mx1.redhat.com ([209.132.183.28]:41700 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728177AbfBDKgq (ORCPT ); Mon, 4 Feb 2019 05:36:46 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 8D9BF81F0D; Mon, 4 Feb 2019 10:36:46 +0000 (UTC) Received: from krava (unknown [10.43.17.135]) by smtp.corp.redhat.com (Postfix) with SMTP id 1EA0191F14; Mon, 4 Feb 2019 10:36:43 +0000 (UTC) Date: Mon, 4 Feb 2019 11:36:43 +0100 From: Jiri Olsa To: Alexey Budankov Cc: Jiri Olsa , Arnaldo Carvalho de Melo , lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Adrian Hunter , Andi Kleen , Stephane Eranian Subject: Re: [RFC/PATCH 00/14] perf record: Add support to store data in directory Message-ID: <20190204103643.GA18141@krava> References: <20190203153018.9650-1-jolsa@kernel.org> <8d8b3f0d-cea8-2daf-249f-29f485c49a46@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8d8b3f0d-cea8-2daf-249f-29f485c49a46@linux.intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.27]); Mon, 04 Feb 2019 10:36:46 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 04, 2019 at 01:12:11PM +0300, Alexey Budankov wrote: > > Hi, > > On 03.02.2019 18:30, Jiri Olsa wrote: > > hi, > > this patchset adds the --dir option to record command (and all > > the other record command that overload cmd_record) that allows > > the data to be stored in directory with multiple data files. > > > > It's next step for multiple threads implementation in record. > > It's now possible to make directory data via --dir option, like: > > > > $ perf record --dir perf bench sched messaging > > Is it possible to name data directory differently from perf.data > e.g. using --output option, like this? > > $ perf record --output result_1 --dir perf bench sched messaging yep, it's taken into account: [jolsa@krava perf]$ ./perf record --output result_1 --dir ./perf bench sched messaging Couldn't synthesize bpf events. # Running 'sched/messaging' benchmark: # 20 sender and receiver processes per group # 10 groups == 400 processes run Total time: 0.177 [sec] [ perf record: Woken up 1 times to write data ] [ perf record: Captured and wrote 0.316 MB result_1 (7225 samples) ] [jolsa@krava perf]$ ll result_1/ total 348 -rw-------. 1 jolsa jolsa 27624 Feb 4 11:35 data.0 -rw-------. 1 jolsa jolsa 56672 Feb 4 11:35 data.1 -rw-------. 1 jolsa jolsa 30824 Feb 4 11:35 data.2 -rw-------. 1 jolsa jolsa 49136 Feb 4 11:35 data.3 -rw-------. 1 jolsa jolsa 22712 Feb 4 11:35 data.4 -rw-------. 1 jolsa jolsa 53392 Feb 4 11:35 data.5 -rw-------. 1 jolsa jolsa 43352 Feb 4 11:35 data.6 -rw-------. 1 jolsa jolsa 46688 Feb 4 11:35 data.7 -rw-------. 1 jolsa jolsa 9068 Feb 4 11:35 header jirka