---
layout: doc
title: internals / traceprefix
---
# traceprefix

### NAME

    traceprefix() - sets the prefix determining which objects to trace

### SYNOPSIS

    string traceprefix( string prefix );

### DESCRIPTION

    If  the  the traceprefix is set (i.e. not 0) tracing will only occur in
    objects having a name with the set prefix.

### SEE ALSO

    trace(3)

