-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathtracerlib.h
More file actions
34 lines (26 loc) · 761 Bytes
/
tracerlib.h
File metadata and controls
34 lines (26 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef TRACERLIB_H
#define TRACERLIB_H
#include <stdlib.h>
#ifdef __cplusplus
extern "C" {
#endif
#define LOOP_START "_tracer_loopstart"
void _tracer_loopstart(long long id);
#define LOOP_END "_tracer_loopend"
void _tracer_loopend(long long id);
#define TRACE_ON "_tracer_traceon"
void _tracer_traceon();
void ftracer_traceon_();
#define TRACE_OFF "_tracer_traceoff"
void _tracer_traceoff();
void ftracer_traceoff_();
#define ARRAY_MEM "_tracer_array_memory"
void _tracer_array_memory(void *start, size_t length);
void ftracer_array_memory_(void **start, int *length);
#define ARRAY_MEM_CLEAR "_tracer_array_memory_clear"
void _tracer_array_memory_clear(void *start);
void ftracer_array_memory_clear_(void *start);
#ifdef __cplusplus
}
#endif
#endif