34#include "xtc_export.h"
49typedef struct xtc_trace_rec {
69XTC_API
int xtc_trace_enable(
int on);
72XTC_API
int xtc_trace_reset(
void);
76XTC_API
int xtc_trace_dump(xtc_trace_fn cb,
void *user);
79XTC_API uint64_t xtc_hlc_now(
void);
106enum xtc_causal_kind {
107 XTC_CAUSAL_PARK_MAILBOX = 0,
108 XTC_CAUSAL_PARK_TIMER = 1,
109 XTC_CAUSAL_PARK_FD = 2,
110 XTC_CAUSAL_RESUME = 3
116typedef struct xtc_causal_rec {
132XTC_API
int xtc_trace_causal_enable(
int on);
138XTC_API
int xtc_trace_causal_dump(
xtc_pid_t pid, xtc_causal_fn cb,
void *user);