pips_enable_trace()

Updated: April 19, 2023

Enable or disable system tracing by PiPS

Synopsis:

#include <pips/pips.h>
int pips_enable_trace(const bool enable)

Arguments:

enable
A flag indicating whether to enable or disable system tracing

Library:

pips-client

Description:

This function enables or disables system tracing by the PiPS framework. System tracing is useful for debugging the internals of the framework. When tracing is enabled, function invocations are logged to the trace system log. All trace messages are prefixed with the thread ID, source file and line, and name of the function that wrote the message.

Returns:

0
System tracing was enabled or disabled successfully
-1
An error occurred