Method
SysprofSpawnableadd_trace_fd
Declaration [src]
int
sysprof_spawnable_add_trace_fd (
SysprofSpawnable* self,
const char* envvar
)
Description [src]
Adds an environment variable to the spawnable that will contain a
“tracing file-descriptor”. The spawned process can use
sysprof_capture_writer_new_from_env() if envvar is NULL
or with getenv() and sysprof_capture_writer_new_from_fd().
If envvar is NULL, “SYSPROF_TRACE_FD” will be used.
The caller is responsible for closin the resulting FD.