PMPRINTLABELSETS(3)

πŸ“¦
version 7.2.2 Β· 3 versions
, in arch rolling, centos-stream 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

✨ NAME ✨

okay so bestie, welcome to PMPRINTLABELSETS(3) from the Library Functions Manual πŸ’–. This is the page for pmPrintLabelSets, and it's lowkey the main character of label-set printing. Its whole vibe:

  • pmPrintLabelSets β€” print an array of label sets

That's it. No crumbs. Periodt.

πŸ› οΈ C SYNOPSIS πŸ› οΈ

ngl, the setup is giving "include first, function second". Include the header like this:

#include <pcp/pmapi.h>

Then the function signature, exactly as it lives:

void pmPrintLabelSets(FILE *f, int ident, int type, pmLabelSet *sets,
                      int nsets);

And when you build, link it up like:

cc ... -lpcp

πŸ’– DESCRIPTION πŸ’–

pmPrintLabelSets displays all elements of the Performance Metrics LabelSet sets that are associated with identifier ident of hierarchy level type, on the output stream f. That's the assignment, and it ate: every element, onto f ✨. No cap, no filter, just label-set content doing its thing.

πŸ‘€ SEE ALSO πŸ‘€


That's the whole page, bestie. Signed off from Performance Co-Pilot / PCP for PMPRINTLABELSETS(3) β€” no date stamp in this footer, just iconic library-manual energy πŸ’…βœ¨

πŸ“¦ where this page comes from