PMSETDEBUG - Online Linux Manual PageSection : 3
Updated : PCP
Source : Performance Co-Pilot

NAMEpmSetDebug, pmClearDebug − manipulate PCP debugging control options

C SYNOPSIS#include <pcp/pmapi.h> int pmSetDebug(const char *spec);
int pmClearDebug(const char *
spec); cc ... −lpcp

DESCRIPTIONWithin the libraries and applications of the Performance Co-Pilot (PCP) there is an extensive set of debugging options that may be enabled or disabled at run-time. Both pmSetDebug and pmClearDebug parse spec assuming it to be a comma separated list of PCP debug option names. The names of the available options may be found using the −l argument to pmdbg(1). As a special case, the name ``all'' is treated as a synonym for identifying all option names. pmSetDebug will set the corresponding options, while pmClearDebug will clear the corresponding options. Consecutive calls to either routine will be additive. For example the following code fragments are equivalent in terms of the final configuration of the debug options. sts = pmClearDebug("all"); sts = pmSetDebug("appl0"); sts = pmSetDebug("pdu,fetch"); sts = pmSetDebug("fetch,profile,context"); sts = pmClearDebug("appl0"); sts = pmClearDebug("all"); sts = pmSetDebug("pdu,fetch,profile,context"); An earlier implementation of the PCP debug facilities used a bit-vector and for backwards compatibility the elements of spec may include decimal values corresponding to those bit-values. Refer to pmdbg(1) for more details of this deprecated format.

SEE ALSOpmdbg(1)

DIAGNOSTICSIf successful, these routines return 0, otherwise the return is PM_ERR_CONV to indicate a parsing error.
0
Johanes Gumabo
Data Size   :   6,105 byte
man-p___mClearDebug.3Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 256,427
Visitor ID   :     :  
Visitor IP   :   18.223.239.65   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.