mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 10:27:41 +00:00
* syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING.
Suggested by Eli Zaretskii in <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>.
This commit is contained in:
parent
84f72efd0c
commit
cb5b02667a
2 changed files with 8 additions and 1 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* syssignal.h (PROFILER_CPU_SUPPORT): Don't define if PROFILING.
|
||||
Suggested by Eli Zaretskii in
|
||||
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00811.html>.
|
||||
|
||||
2012-09-30 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* profiler.c (Fprofiler_cpu_stop): Use timer_settime only if
|
||||
|
|
|
|||
|
|
@ -29,7 +29,8 @@ extern void init_signals (bool);
|
|||
#define FORWARD_SIGNAL_TO_MAIN_THREAD
|
||||
#endif
|
||||
|
||||
#if defined SIGPROF && (defined HAVE_TIMER_SETTIME || defined HAVE_SETITIMER)
|
||||
#if (defined SIGPROF && (defined HAVE_TIMER_SETTIME || defined HAVE_SETITIMER) \
|
||||
&& !defined PROFILING)
|
||||
# define PROFILER_CPU_SUPPORT
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue