---
name: "enable_cmf"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/enable_cmf"
---

# enable\_cmf(9)

switch on the channel measurement for a specific device

## NAME

enable\_cmf - switch on the channel measurement for a specific device

## SYNOPSIS

**int enable\_cmf(struct ccw\_device \*** *cdev***);**

## ARGUMENTS

*cdev*

The ccw device to be enabled

## DESCRIPTION

Returns **0** for success or a negative error value.

## NOTE

If this is called on a device for which channel measurement is already enabled a reset of the measurement data is triggered.

## CONTEXT

non-atomic

## AUTHOR

**Cornelia Huck** \<cornelia.huck@de.ibm.com\>

Author.

## COPYRIGHT
