From owner-freebsd-performance@FreeBSD.ORG Thu Nov 20 23:32:42 2014 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31800BC6 for ; Thu, 20 Nov 2014 23:32:42 +0000 (UTC) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E9BDBEF3 for ; Thu, 20 Nov 2014 23:32:41 +0000 (UTC) Received: by mail-ig0-f182.google.com with SMTP id hn15so3765572igb.15 for ; Thu, 20 Nov 2014 15:32:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=CeabsuHBMY2J4aY6Gx5Wa4KedaI+TbFMYOTnnzETUcM=; b=wRasOkWmX9J3kxDeJpIFbS2W4rEpu3lS4x3dgjSMsk7+7WnCPA9DuqilP8Dj1MXLDU 3G31+9bSKUnQ8FGwnbOj8X9aCOhTmwrXM6Y4204cL/o5+xx2Z9LrPpH9T6D8Ybbs3az0 PFanlna2ba+vEmQpq4n6jnZrqJDMjjstI9jYf+IsxF/v8peJTPJ80GJGYxdGWyxs+XXS zz1sBU4UZNBnNezE22Gx5z4L9qc/1yHtlCRc4BvoYZT83UEOmA1tfp5PDhuVBbM3xj9q Jy3GZKOEwnU3yc6Sq9d5PQL/cyFCwXDgHEwUAcW52oq/rZGs3W2648X6lx0f3pdJM772 kDyQ== X-Received: by 10.50.134.225 with SMTP id pn1mr688221igb.33.1416526361280; Thu, 20 Nov 2014 15:32:41 -0800 (PST) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.141 with HTTP; Thu, 20 Nov 2014 15:32:20 -0800 (PST) In-Reply-To: References: <20141028114537.83f9f0a3c730949f453c3819@systemdatarecorder.org> From: Ed Maste Date: Thu, 20 Nov 2014 18:32:20 -0500 X-Google-Sender-Auth: _JUBFPYTg7TopyGowlF-9aIaU3c Message-ID: Subject: Re: pmcstat -z32 -G truncates callgraph to 8 To: Brendan Gregg Content-Type: text/plain; charset=UTF-8 Cc: freebsd-performance@freebsd.org X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 23:32:42 -0000 On 31 October 2014 01:26, Brendan Gregg wrote: > > Yes. When I'm using profiling data, I like full stacks for making > flame graphs. For the FreeBSD kernel, 32 frames should usually be > enough (I have a flame graph that reaches 24 frames for the kernel, > but no more). For user-level, I'd probably need ~100. So making the > compiled-in default to 32 would hopefully be sufficient for most > kernel profiling, and one would need to bump that up for deep > user-level stacks. I guess this would also need > PMC_CALLCHAIN_DEPTH_MAX = 128 to work. I have a review up to bump the default to 32 and the maximum to 128: https://reviews.freebsd.org/D1203