[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Elisp native profiler
From: |
Stefan Monnier |
Subject: |
Re: Elisp native profiler |
Date: |
Tue, 25 Sep 2012 20:55:04 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
> But there are races if the SIGPROF handler runs in
> some other thread, no?
I guess there are races if the main thread is not suspended while the
handler runs, indeed (mostly because we try and read backtrace_list from
the handler which is allocated on the main thread's stack).
> That bug could be worked around by using thread-specific timers (which
> are available in recent GNU/Linux but not older versions or in other
> POSIXish platforms).
That sounds good, yes. I don't think it's terribly important for this
profiler to work in "unusual" systems.
> A lesser question: why does the profiler use SA_SIGINFO?
No idea. Better ask the author (Tomohiro Matsuyama <address@hidden>).
Stefan
- Elisp native profiler, Stefan Monnier, 2012/09/24
- Re: Elisp native profiler, Juanma Barranquero, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler, Stefan Monnier, 2012/09/25
- Re: Elisp native profiler, Paul Eggert, 2012/09/25
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/25
- Re: Elisp native profiler,
Stefan Monnier <=
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/26
- Re: Elisp native profiler, Tomohiro Matsuyama, 2012/09/26
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Stefan Monnier, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27
- Re: Elisp native profiler, Eli Zaretskii, 2012/09/27