emacs-devel
[Top][All Lists]
Advanced

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

Re: igc statistics display


From: Gerd Möllmann
Subject: Re: igc statistics display
Date: Fri, 10 Jan 2025 07:26:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Gerd Möllmann <gerd.moellmann@gmail.com> writes:

> Helmut Eller <eller.helmut@gmail.com> writes:
>
>> On Thu, Jan 09 2025, Gerd Möllmann 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!

BTW, found this

  https://docs.python.org/3/howto/instrumentation.html

which basically says that Python can be built with Dtrace support that
one can use to monitor Python processes.

I wonder if something like that wouldn't be interesting for Emacs also
beyond monitoring GC activity.



reply via email to

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