From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: igc statistics display Date: Thu, 09 Jan 2025 11:12:10 +0100 Message-ID: References: <87frls9vxa.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2339"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 09 11:13:05 2025 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tVpXF-0000Ti-6Y for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Jan 2025 11:13:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVpWT-0004zU-A6; Thu, 09 Jan 2025 05:12:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tVpWR-0004zF-NW for emacs-devel@gnu.org; Thu, 09 Jan 2025 05:12:15 -0500 Original-Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVpWQ-0008JF-0j for emacs-devel@gnu.org; Thu, 09 Jan 2025 05:12:15 -0500 Original-Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3863703258fso1188119f8f.1 for ; Thu, 09 Jan 2025 02:12:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736417532; x=1737022332; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VTPdWfKOZsODO2TItaq9O48csf7XgDxc1gXbWiW/mOU=; b=P0jpZrA8zckHAimOKghI/9kzBQbiCft6++XyOhpEfg5qVsmaOX/81K6f5I/cSE/lIO e6EHVH+GHaqy9SbJYt0OZSg65voY8vp8luf1z1kZmzWVridFcuLrREr/VbAs+2AKtUoF CexPVQgcobyC1Zpx12vCkHrJYrnDIogIH2cRTUmCbMIyauKBG8Nc96fZo2rbedeXv5si gP3JnKG5JNfPRWt17GK/riU2Bv2JkrjPKL3LkUa36uXAdjXjfbr6+e1G2WCEygLEfbya YLMT4N8rr0CAxi32wF66HA9ZCYrZPFhrtt8NTV3T2WiBfYU3AxwuCqv1DSvWRQvfWose W+Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736417532; x=1737022332; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VTPdWfKOZsODO2TItaq9O48csf7XgDxc1gXbWiW/mOU=; b=UKiw5r8jbpugUTBvm3Q1UjlXjwNJ8AW9zAaOiH6gQpXQHxgZDM9361H+CgE+cGUiyu zTjnroUUnybKp9zQr+nyTfcE1DKVy7R01UjbbF3jH4zvb5UUHgFgqMQgcRgfdhfdsZXT u5hCrMMd2YHbJl6scxyONQ9it/kWb46u/Xd8cr/flPDVj/0ABx9P2hdecSFnmgWZtE92 C3L7Ubv8R4JD4GWpytCGaPsNPoIjmW2I+3ntvsVbQnOU7lIYg1iOkS7PbYYqwv374WHN DRNglFAae1x7kHCU15W1Igp6DoHkJEysV6Nx7gTfnKeEgpvuu1QJwgZi9DY8dvCm8Moi wm1g== X-Gm-Message-State: AOJu0YxpHEvoZ/sMLVdGPP+k0t0bJQUxbIkns0ID7eNyKgPwN603wxzk 511A1N4kx+xOEdAeeOjI5HNSIqwPMTJU88Jje4V1lbo6jNaf4y2aI7C7sA== X-Gm-Gg: ASbGncsTrzcXQDLawUH4i86ZVzw/NtES6ZRII99DsD1U4g4MhfJZ13bXxR5UXfdck3p sArSrzjGGyVOMcDzH35CYeRL3w4wHtJ9YkMHM8MvlsG2PFgRN//NkfMOfO5fX4f09oa43Jggvpe mAhjLO61RT1OflKUbFtkIxCOfLYUa7u8kQ7N21MCxlFnybccWvLBjRCrVQRAmsAc2tD5xNZRXae 5HKysahAV9mUEQbPn1l+TSya3kOos8FNzpUy7+jozfKG8lpDxukF54N2X8G3ascJ/oEcGVcoBDi yX8XjXE2goykVySEv7h9AKTBYcdQVXepN9sgA4CPOwR9LKiY48lucyOrWOz9uKU0Mg== X-Google-Smtp-Source: AGHT+IHYcnD3Wc5YsAfOZx4fLfpJa5m5STi3/c6eRoSuYgNrXkRB1WGeW9lCiTDk17jtjHTkX+ppEA== X-Received: by 2002:a5d:648a:0:b0:386:42b1:d7e4 with SMTP id ffacd0b85a97d-38a8b0f3158mr2135036f8f.19.1736417531527; Thu, 09 Jan 2025 02:12:11 -0800 (PST) Original-Received: from pro2 (p200300e0b7182e00ad06de2bb2fec9f1.dip0.t-ipconnect.de. [2003:e0:b718:2e00:ad06:de2b:b2fe:c9f1]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436e9e03f54sm15726935e9.21.2025.01.09.02.12.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 02:12:11 -0800 (PST) In-Reply-To: <87frls9vxa.fsf@gmail.com> (Helmut Eller's message of "Thu, 09 Jan 2025 10:30:09 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x433.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:327814 Archived-At: Helmut Eller writes: > On Thu, Jan 09 2025, Gerd M=C3=B6llmann wrote: > >> I thought someone might have a similar use-case, and could give advice >> what to use for something like that, preferably a small implementation >> resistance, of course. Or, might be interesting helping, which would of >> course be even better, because I'm a bit out of my comfort zone here. > > I'm currently learning a bit to use systemtap. It seems that systemtap > is similar to dtrace, which I think is available for macOS. Maybe you > could try that. Unfortunately, systemtap seems to be targeted more at > kernel code than at user space code. > > I mostly follow the advice from here: > https://www.brendangregg.com/blog/2015-07-08/choosing-a-linux-tracer.html > > Helmut That's an interesting thought! Maybe one could generate perf events, or what they are called. don't remember much about dtrace. And I would have to check what macOS allows one to do without disabling security measures which itself would require a reboot in recovery mode. Very interesting! And one would of course need some nice interface for displaying events. Thanks!