pike.git
/
src
/
builtin.cmod
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/builtin.cmod:1:
/* -*- c -*- || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information.
-
|| $Id: builtin.cmod,v 1.
240
2009/11/
12
15
:
10
:
21
grubba
Exp $
+
|| $Id: builtin.cmod,v 1.
241
2009/11/
19
23
:
45
:
22
mast
Exp $
*/ #include "global.h" #include "interpret.h" #include "svalue.h" #include "pike_macros.h" #include "object.h" #include "program.h" #include "array.h" #include "pike_error.h"
pike.git/src/builtin.cmod:428:
*! Trace every interpreted opcode. *! @value 4 *! Also trace the opcode arguments. *! @endint *! *! @param facility *! Valid facilities are: *! *! @string *! @value "gc"
-
*! Trace the start and end of each run
of
the garbage
collector
.
-
*!
The
setting
is
never
thread
local
.
+
*! Trace the
doings of the garbage collector. The setting is
+
*! never thread local. @[level] has two different meanings:
+
*! @dl
+
*! @item 1..2
+
*! Trace the
start and end of each
gc
run
.
+
*!
@item 3..
+
*! Additionally show info about
the
collected
garbage
,
to aid
+
*! hunting down garbage problems
.
This currently shows gc'd
+
*!
trampolines. Note that the output can be very bulky and
is
+
*!
somewhat low-level technical
.
Also note that pike currently
+
*! has to be configured with @expr{--with-rtldebug@} to enable
+
*! this.
+
*! @enddl
*! @endstring *! *! @param all_threads *! Trace levels are normally thread local, so changes affect only *! the current thread. To change the level in all threads, pass a *! nonzero value in this argument. *! *! @returns *! The old trace level in the current thread is returned. */