> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/holoscan/sdk-user-guide/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/holoscan/sdk-user-guide/_mcp/server.

# holoscan::profiler::trace

> Enables or disables tracing.

```cpp showLineNumbers={false}
void holoscan::profiler::trace(
    bool enable
)
```

Enables or disables tracing.

**Parameters**

**`enable`** `bool`

Whether or not to enable tracing.

---