From: Helmut Eller <eller.helmut@gmail.com>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: igc statistics display
Date: Fri, 10 Jan 2025 08:31:29 +0100 [thread overview]
Message-ID: <877c739lbi.fsf@gmail.com> (raw)
In-Reply-To: <m2y0zjxjyo.fsf@gmail.com> ("Gerd Möllmann"'s message of "Fri, 10 Jan 2025 07:26:55 +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.
Helmut
next prev parent reply other threads:[~2025-01-10 7:31 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 [this message]
2025-01-10 7:46 ` Eli Zaretskii
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=877c739lbi.fsf@gmail.com \
--to=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.