From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752489AbbCWNok (ORCPT ); Mon, 23 Mar 2015 09:44:40 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:35637 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752100AbbCWNoi (ORCPT ); Mon, 23 Mar 2015 09:44:38 -0400 Message-ID: <551018C5.4030304@gmail.com> Date: Mon, 23 Mar 2015 07:44:37 -0600 From: David Ahern User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Namhyung Kim , Ingo Molnar CC: Arnaldo Carvalho de Melo , Peter Zijlstra , Jiri Olsa , LKML , Frederic Weisbecker , Stephane Eranian Subject: Re: [RFC/PATCH] perf record: Save build-id of DSO in callchains References: <1427073483-7713-1-git-send-email-namhyung@kernel.org> <20150323072213.GB22765@gmail.com> <20150323081821.GE2782@sejong> In-Reply-To: <20150323081821.GE2782@sejong> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 3/23/15 2:18 AM, Namhyung Kim wrote: >> Just curious, could you try to measure the performance impact of this >> change? > > $ time perf record --call-graph dwarf -o kbuild.xxx -a -- sleep 30 > [ perf record: Woken up 34674 times to write data ] > [ perf record: Captured and wrote 9538.729 MB kbuild.xxx (1211997 samples) ] > > real 0m32.244s > user 0m1.097s > sys 0m8.997s > > $ time perf record --call-graph dwarf -o kbuild.yyy --buildid-callchain -a -- sleep 30 > [ perf record: Woken up 40902 times to write data ] > [ perf record: Captured and wrote 11208.500 MB kbuild.yyy (1433922 samples) ] > > real 2m21.695s > user 1m33.127s > sys 0m22.077s > How many CPUs and processes? David