Method

SysprofProfileradd_instrument

Declaration [src]

void
sysprof_profiler_add_instrument (
  SysprofProfiler* self,
  SysprofInstrument* instrument
)

Description [src]

Adds instrument to profiler.

When the recording session is started, instrument will be directed to capture data into the destination capture file.

Parameters

instrument

Type: SysprofInstrument

A SysprofInstrument.

The instance takes ownership of the data, and is responsible for freeing it.