Performance Co-Pilot (PCP) User-Space Markers

Since Performance Co-Pilot 3.8.3 release in September 2013 Performance Co-Pilot (PCP) includes support for SystemTap user-space markers in the Performance Metric Collector Daemon (PMCD). The SystemTap user-space markers are enabled in Fedora and RHEL 7 and allow SystemTap to probe various aspects of PCP's operation such as the adding or removing a Performance Metric Collection Agent (PMDA). Below is the SystemTap command and the resulting output listing the PCP user-space probes points:

$ stap -L pmcd.*
pmcd.add_agent t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.add_client t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.del_agent t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.del_client t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.eof t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.recv_err t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.recv_timeout t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.wrong_pdu t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long
pmcd.xmit_err t_desc:string $arg1:long $arg2:long $arg3:long $arg4:long

Using PCP User-Space Markers

To use the PCP user-space markers on a Fedora you will need:

Examples Scripts for PCP Probing

Short example scripts:


None: PerformanceCopilot (last edited 2020-08-05 21:15:45 by WilliamCohen)