| 1 |
/* -*- c-file-style: "GNU" -*- */ |
| 2 |
/* |
| 3 |
* Copyright (C) CNRS, INRIA, Université Bordeaux 1, Télécom SudParis |
| 4 |
* See COPYING in top-level directory. |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef INSTRUMENT_H |
| 8 |
#define INSTRUMENT_H |
| 9 |
#include <stdint.h> |
| 10 |
|
| 11 |
#ifdef __cplusplus |
| 12 |
extern "C" { |
| 13 |
#endif |
| 14 |
|
| 15 |
void record_event0(uint64_t code); |
| 16 |
void record_event1(uint64_t code, uint64_t arg1); |
| 17 |
void record_event2(uint64_t code, uint64_t arg1, uint64_t arg2); |
| 18 |
void record_event3(uint64_t code, uint64_t arg1, uint64_t arg2, |
| 19 |
uint64_t arg3); |
| 20 |
void record_event4(uint64_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, |
| 21 |
uint64_t arg4); |
| 22 |
void record_event5(uint64_t code, uint64_t arg1, uint64_t arg2, uint64_t arg3, |
| 23 |
uint64_t arg4, uint64_t arg5); |
| 24 |
|
| 25 |
void __init(void); |
| 26 |
void __conclude(void); |
| 27 |
|
| 28 |
#ifdef __cplusplus |
| 29 |
} |
| 30 |
; |
| 31 |
#endif |
| 32 |
#endif |