From: Eli Zaretskii <eliz@gnu.org>
To: Helmut Eller <eller.helmut@gmail.com>
Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org
Subject: Re: igc statistics display
Date: Fri, 10 Jan 2025 09:46:05 +0200 [thread overview]
Message-ID: <86jzb3158i.fsf@gnu.org> (raw)
In-Reply-To: <877c739lbi.fsf@gmail.com> (message from Helmut Eller on Fri, 10 Jan 2025 08:31:29 +0100)
> From: Helmut Eller <eller.helmut@gmail.com>
> Cc: Emacs Devel <emacs-devel@gnu.org>
> Date: Fri, 10 Jan 2025 08:31:29 +0100
>
> On Fri, Jan 10 2025, Gerd Möllmann wrote:
>
> > I wonder if something like that wouldn't be interesting for Emacs also
> > beyond monitoring GC activity.
>
> There are many potentially interesting events
> - begin/end of a command
> - begin/end of a redisplay
> - cache misses (regexp cache, charpos cache ..)
> - begin/end of interval rebalancing?
> - call/return of Lisp functions
>
> It's a bit annyoing that drace/systemtap needs special permissions. In
> theory, systemtap has a "dyninst runtime" that uses ptrace instead of
> uprobes and hence would not need special permissions (at least not more
> than gdb). In practice, the dyninst runtime doesn't seem to work yet:
> it exist with a segfault.
>
> It would also be useful to have some helper functions (called tapsets in
> systemtap) to write dtrace/systemtap scripts, e.g. accessing symbol-name
> etc.
SystemTap is not the ideal means for such a facility. Its only
significant advantage is that it's supported by GDB. But its huge
disadvantage is that it's a Linux-only facility.
In addition, I feel that this is too low-level for our purposes. We
need something more akin to trace-redisplay.
next prev parent reply other threads:[~2025-01-10 7:46 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-09 8:22 igc statistics display Gerd Möllmann
2025-01-09 8:34 ` Eli Zaretskii
2025-01-09 9:30 ` Helmut Eller
2025-01-09 10:12 ` Gerd Möllmann
2025-01-10 6:26 ` Gerd Möllmann
2025-01-10 7:25 ` Eli Zaretskii
2025-01-10 7:31 ` Helmut Eller
2025-01-10 7:46 ` Eli Zaretskii [this message]
2025-01-10 8:05 ` Gerd Möllmann
2025-01-10 8:22 ` Eli Zaretskii
2025-01-10 9:02 ` Gerd Möllmann
2025-01-10 11:24 ` Eli Zaretskii
2025-01-10 8:23 ` Helmut Eller
2025-01-10 9:04 ` Gerd Möllmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86jzb3158i.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eller.helmut@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=gerd.moellmann@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.