emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: igc statistics display


From: Helmut Eller
Subject: Re: igc statistics display
Date: Fri, 10 Jan 2025 08:31:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]