tide-trace 0.5.0

Minimum overhead USDT middleware to dynamically trace tide with BPF or DTrace
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <sys/sdt.h>
#include "tide-trace.h"

void startroute(char* method, char* path, int id, char* headers)   
{
    DTRACE_PROBE4(tide, startroute, method, path, id, headers);
}

void endroute(char* method, char* path, int id, int status, char* headers)
{
    DTRACE_PROBE5(tide, endroute, method, path, id, status, headers);
}

void fire(char* tag, char* data) {
    DTRACE_PROBE2(tide, fire, tag, data);
}