---
name: "TAU_PROFILE_CALLSTACK"
section: "3"
platform: "linux"
package: "tau"
version: "2.17.3.1.dfsg-4.2"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/TAU_PROFILE_CALLSTACK"
---

# TAU\_PROFILE\_CALLSTACK(3)

Generates a callstack trace at a given location.

## NAME

TAU\_PROFILE\_CALLSTACK - Generates a callstack trace at a given location.

## SYNOPSIS

**C/C++:**

**TAU\_PROFILE\_CALLSTACK(void);**

## DESCRIPTION

When TAU is configured with -PROFILECALLSTACK configuration option, and this call is invoked, a callpath trace is generated. A GUI for viewing this trace is included in TAU's utils/csUI directory. This option is deprecated.

## EXAMPLE

**C/C++ :**

```
TAU_PROFILE_CALLSTACK();
```
