Documentation ¶
Overview ¶
Collector of perf events for a container.
Configuration for perf event manager.
Manager of perf events for containers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCollector ¶
Types ¶
type CustomEvent ¶
type CustomEvent struct { // Type of the event. See perf_event_attr documentation // at man perf_event_open. Type uint32 `json:"type,omitempty"` // Symbolically formed event like: // pmu/config=PerfEvent.Config[0],config1=PerfEvent.Config[1],config2=PerfEvent.Config[2] // as described in man perf-stat. Config Config `json:"config"` // Human readable name of metric that will be created from the event. Name Event `json:"name"` }
type Events ¶
type Events struct { // List of perf events' names to be measured. Events [][]Event `json:"events"` // List of custom perf events' to be measured. It is impossible to // specify some events using their names and in such case you have // to provide lower level configuration. CustomEvents []CustomEvent `json:"custom_events"` }
type PerfEvents ¶
Click to show internal directories.
Click to hide internal directories.