From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.devel Subject: Re: igc statistics display Date: Thu, 09 Jan 2025 10:30:09 +0100 Message-ID: <87frls9vxa.fsf@gmail.com> References: 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="34232"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Emacs Devel To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 09 10:31:10 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 1tVosg-0008fA-75 for ged-emacs-devel@m.gmane-mx.org; Thu, 09 Jan 2025 10:31:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tVorr-0006cA-AO; Thu, 09 Jan 2025 04:30:19 -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 1tVorp-0006bu-7a for emacs-devel@gnu.org; Thu, 09 Jan 2025 04:30:17 -0500 Original-Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tVorn-0000kt-Ju for emacs-devel@gnu.org; Thu, 09 Jan 2025 04:30:16 -0500 Original-Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-43622267b2eso8076305e9.0 for ; Thu, 09 Jan 2025 01:30:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736415012; x=1737019812; 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=yysavAlMeheHh11ZU2tM9OGzDHCkwZ3GegaKSS2U8uw=; b=gIFt5Vr1wInwoIBTyA7jlR2/3iSr4eFpzfhgvLUImcB0BQmD17rupx1qiSL3tYpiYU PklPCDKDECvjkcjJWYadpCpbGwbgpFB2kowIT97K6uhbx8ofdzz89Q0+otC9fBSHBNUT EEa7uFxE3IaKkJ2SK50qMhJxTQuKUi+HXErVu/DvJNPvIPsJEgUnRakcxLtHcBG2DwMW S5WIczcySBHatclSU00Taqz4t+L8ZPEoWYUbBKmwtLNTmuIfDWlFc8uKsELsfQ0q+NzK Vdc6g/ah2nA9Xa56JL6hp1Wzss354k0Rw1WnPqukng9uVL0kuBqn0jO3hLxOZCtgefZR WdWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736415012; x=1737019812; 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=yysavAlMeheHh11ZU2tM9OGzDHCkwZ3GegaKSS2U8uw=; b=FvfbkrjbCaPQ2JXWMf16T90I/9WN7eHm+NDWV2uT5V68xPBpBKC0ty0B5ytev8e5GU dmbGXKOGipdvUa9ROvA6dB9odk6SHPeTZ8Wt1hWzSh8j194l6nR6I6NblvXj8mYanmo7 rkN+JqmatgRGasiwafFoR4xKfRaKl1UZ2rZ82rd9Yckxtih2HIkjhDBXf3vs/mPe4MfA 5HZUqKtekKByN5Pq7RkEfDgal7BFLQ0UB30l6vM8/Bucq0NU36rmgj7rUUTv8XlaLUfW iL3qQW6XvTEUhfr7Xobb70KkqNS89OG3sKyIabL13HlS+cg6KMziZHCCBsu2n4qeSCrY ULNA== X-Gm-Message-State: AOJu0Yx9O2yafDyrFvXWhQF0TwhIfVWIZmAkuMV+XYT4eH1ld+OcaJ53 75QQve6pQUv1nk+AlYIwn7+SVheYy1hd+pBpWbgBB8oS7RxkEZWbk9YBYw== X-Gm-Gg: ASbGncu1usJ870DVzCGGJ1R363qz6RwBeZK1JXdYcVP1B9RTnNqLbJmseKeD6xLfwrH cdIhVg6D//W04EN2IdplhmS/pvr1+YPlKaIlLBDiH4/qVUl2iQexkvooalh3KDOeu1sG+XWDWQh jOoPRh8Ve4UYdly35bKBeHnMK78xoVWc8MdwC6tkiOIqZcS64DsXx+M0UTUWaz9/VUlhoa8MW86 eyCV3CnrmsOkO15LzgSFUR9votHIMezAjbYSj1jFGZsNMvqOlD8tg== X-Google-Smtp-Source: AGHT+IFGdKeH42LJ4B4wxhNywtIX62QmdLPBBeSWVMt3e85zrO2Z9dkav9HEuoRmqjsoNdcOukqNWg== X-Received: by 2002:a05:6000:1445:b0:385:df6d:6fc7 with SMTP id ffacd0b85a97d-38a8730ce5amr5319624f8f.25.1736415012117; Thu, 09 Jan 2025 01:30:12 -0800 (PST) Original-Received: from caladan ([89.107.106.84]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e38bf65sm1267449f8f.49.2025.01.09.01.30.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 01:30:11 -0800 (PST) In-Reply-To: ("Gerd =?utf-8?Q?M=C3=B6llmann=22'?= =?utf-8?Q?s?= message of "Thu, 09 Jan 2025 09:22:10 +0100") Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=eller.helmut@gmail.com; helo=mail-wm1-x32b.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:327813 Archived-At: 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