atl_start_trace()

Trace Probes for C

Purpose

Initializes the environment of an instance trace. This macro must be executed before any other probe macro. Ideally, it can be placed at the start of the application.

Syntax

atl_start_trace(<handle>, "<path>", <instance>, <size>)

where:

Example

int main(int argc, char** argv)

{

...

atl_start_trace(atl_client, "../res/", client, 0);

atl_start_trace(atl_serv, "../res/", serv, 0);

...

atl_end_trace(atl_client);

atl_end_trace(atl_serv);

...

}

Related Topics

Probe macrosatl_end_trace()