> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Flamegraph Data • AI Agents Framework

> get_flamegraph_data: Get flamegraph-compatible data.

# get\_flamegraph\_data

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**ProfilerCompat**](../classes/ProfilerCompat) class in the [**profiler**](../modules/profiler) module.

Get flamegraph-compatible data.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def get_flamegraph_data() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `get_flamegraph_data`
* `get_profiler`

## Used By

* [`ProfilerCompat.get_flamegraph_data`](../functions/ProfilerCompat-get_flamegraph_data)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai/praisonai/profiler.py#L904">
  `praisonai/profiler.py` at line 904
</Card>
