---
name: "TAU_ENABLE_GROUP"
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_ENABLE_GROUP"
---

# TAU\_ENABLE\_GROUP(3)

Enables tracking of a given group

## NAME

TAU\_ENABLE\_GROUP - Enables tracking of a given group

## SYNOPSIS

**C/C++:**

**TAU\_ENABLE\_GROUP(TauGroup\_t** *group***);**

**Fortran:**

**TAU\_ENABLE\_GROUP(integer** *group***);**

## DESCRIPTION

Enables the instrumentation for a given group. By default, it is already on.

## EXAMPLE

**C/C++ :**

```
void foo() {
  TAU_PROFILE("foo()", " ", TAU_USER);
  ...
  TAU_ENABLE_GROUP(TAU_USER);
}
```

**Fortran :**

```
  include 'Profile/TauFAPI.h'
  call TAU_ENABLE_GROUP(TAU_USER)
```

## SEE ALSO

[TAU\_ENABLE\_INSTRUMENTATION(3)](/TAU_ENABLE_INSTRUMENTATION/3.md), [TAU\_DISABLE\_INSTRUMENTATION(3)](/TAU_DISABLE_INSTRUMENTATION/3.md), [TAU\_DISABLE\_GROUP(3)](/TAU_DISABLE_GROUP/3.md), [TAU\_INIT(3)](/TAU_INIT/3.md), [TAU\_PROFILE\_INIT(3)](/TAU_PROFILE_INIT/3.md)
