LTTng control library C API
Loading...
Searching...
No Matches
lttng_event_context_u Union Reference

perf counter or application-specific context field descriptor. More...

#include <event.h>

Collaboration diagram for lttng_event_context_u:

Data Fields

struct { 
 
   char *   ctx_name 
 Type name.
 
   char *   provider_name 
 Provider name.
 
app_ctx 
 Application-specific context field descriptor.
 
struct lttng_event_perf_counter_ctx perf_counter
 perf counter context field descriptor.
 

Detailed Description

perf counter or application-specific context field descriptor.

Field Documentation

◆ [struct]

struct { ... } lttng_event_context_u::app_ctx

Application-specific context field descriptor.

Only used when the lttng_event_context::ctx member is LTTNG_EVENT_CONTEXT_APP_CONTEXT.

◆ perf_counter

struct lttng_event_perf_counter_ctx lttng_event_context_u::perf_counter

perf counter context field descriptor.

Only used when the lttng_event_context::ctx member is LTTNG_EVENT_CONTEXT_PERF_CPU_COUNTER or LTTNG_EVENT_CONTEXT_PERF_THREAD_COUNTER.