CRTP base for a trie that groups probes by inline stack.

Synopsis

Declared in <llvm/MC/MCPseudoProbe.h>

template<
    typename ProbesType,
    typename DerivedProbeInlineTreeType,
    typename InlinedProbeTreeMap>
class MCPseudoProbeInlineTreeBase;

Member Functions

Name

Description

getChildren

getChildren overloads

getOrAddNode

Return the child for Site, creating it if missing.

getProbes

Return the probes attached to this node.

isRoot

Return true if this is the dummy root node (GUID 0).

Data Members

Name

Description

Guid

GUID of the function represented by this node; zero for the root.

Parent

Parent node of this inline site, or null for the root.

Protected Member Functions

Name

Description

MCPseudoProbeInlineTreeBase [constructor]

Construct an empty node and check the CRTP base relationship.

Protected Data Members

Name

Description

Children

Children of the current context (for example, inlinees).

Probes

Probes that originate in this function context.

Derived Classes

Name

Description

MCDecodedPseudoProbeInlineTree

Inline‐tree node for a decoded pseudo probe.

MCPseudoProbeInlineTree

Trie that groups probes by inline stack for one .text section.

Created with MrDocs