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

NAME__pmParseDebug, __pmSetDebugBits − manipulate old-style PCP debugging control bit-fields

C SYNOPSIS#include <pcp/pmapi.h>
#include <pcp/deprecated.h> int __pmParseDebug(const char *
spec);
void __pmSetDebugBits(int value); cc ... −lpcp

DESCRIPTIONThese routine have been deprecated and may be removed in a future Performance Co-Pilot (PCP) release. Please refer to pmSetDebug(3) and pmClearDebug(3) for replacement functionality. __pmParseDebug parses spec assuming it to be a comma separated list of PCP debug flags. Each flag may be specified as an integer or the trailing portion of the symbolic name of the corresponding flag as reported by pmdbg(1). Symbolic names are stripped of the ``DBG_TRACE_'' prefix and may appear in either case. As a special case, the values ``−1'' and ``ALL'' are treated as synonyms for turning on all bits except the sign bit in the result, i.e. INT_MAX from <limits.h>. For example the debug option fetch is defined in the output from pmdbg(3) with the −L option and may be specified in spec as 2, FETCH or fetch. __pmSetDebugBits may be used to set the bit-fields directly using the encoding in value. The effect is additive, so consecutive calls to __pmSetDebugBits will set the conjunction of the bits in the value arguments. To clear the bit-fields, see pmClearDebug(3).

SEE ALSOpmdbg(1), pmSetDebug(3) and pmClearDebug(3).

DIAGNOSTICSIf successful, __pmParseDebug returns the value computed by the bit-wise ``or'' of each flag in the spec, suitable for assigning to the global debug trace control variable pmDebug. Otherwise the return value is less than 0 to indicate a parsing error.
0
Johanes Gumabo
Data Size   :   6,124 byte
man-__pmSetDebugBits.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 165,619
Visitor ID   :     :  
Visitor IP   :   18.189.170.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.05
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.