From nobody Thu Mar 23 20:45:33 2023 X-Original-To: freebsd-questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PjHRX0hxdz40J5C for ; Thu, 23 Mar 2023 20:45:44 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from mail.nomadlogic.org (mail.nomadlogic.org [66.165.241.226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.nomadlogic.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PjHRW37Zzz43n5 for ; Thu, 23 Mar 2023 20:45:43 +0000 (UTC) (envelope-from pete@nomadlogic.org) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nomadlogic.org; s=04242021; t=1679604335; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9DgARzvWUpx93ar3xtZZdEUHpRJIehLKXpdLv014gUg=; b=y2ZYnptdLcrR1UTgoup25lQwj2hLiSXDQde9H1sT2uVvhaWJ5+rVkqEac/2rU+ZGLgnvx6 +dh3sMm5k0nL+3FLzQikdyOlChjbuCQy14k5IA1PJonAvAWGp48xwnI+qrMJLx2+tXtV8C YWNsezcfdZbqvLd1Y8rHWj9RMAoZIX8= Received: from topanga (cpe-24-24-168-214.socal.res.rr.com [24.24.168.214]) by mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 03eb9002 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 23 Mar 2023 20:45:34 +0000 (UTC) Date: Thu, 23 Mar 2023 13:45:33 -0700 From: Pete Wright To: Tomek CEDRO Cc: FreeBSD Questions Mailing List Subject: Re: userland profiler trace with debug symbols Message-ID: <20230323204533.z3vd3tk37hgbludi@topanga> References: List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PjHRW37Zzz43n5 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:29802, ipnet:66.165.240.0/22, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N On Thu, Mar 23, 2023 at 12:07:28AM +0100, Tomek CEDRO wrote: > Hello world :-) > > I have found and reported a bug in KiCAD 7 where dialogs seems to be > broken [1]. One of the upstream developers asked me to create a > "profiler trace with debug symbols" to pinpoint the issue. > > Here is an example use on Linux with perf [2]: > > perf record --debuginfod --call-graph dwarf -F 999 -g eeschema > > Do we have this kind of utility on FreeBSD? :-) you can probably supply similar info using dtrace(1). there is also dwatch(1) which is a handy script that pulls lots of useful info via dtrace, but in a more user friendly way. -pete -- Pete Wright pete@nomadlogic.org