diff options
| author | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-16 14:53:42 -0400 |
|---|---|---|
| committer | Bjoern B. Brandenburg <bbb@cs.unc.edu> | 2007-05-16 14:53:42 -0400 |
| commit | 4d337d4d7a3c1e6a65b090251c4e41592740b0d0 (patch) | |
| tree | 11a951fbd6fd3cc3dea8e102bd57a00acc94e852 /include | |
| parent | 9bee556de7489579c3bdd0d2d4d457ffa72168eb (diff) | |
event naming
Diffstat (limited to 'include')
| -rw-r--r-- | include/mapping.h | 8 | ||||
| -rw-r--r-- | include/timestamp.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/mapping.h b/include/mapping.h new file mode 100644 index 0000000..2a7b6a8 --- /dev/null +++ b/include/mapping.h | |||
| @@ -0,0 +1,8 @@ | |||
| 1 | #ifndef _MAPPING_H_ | ||
| 2 | #define _MAPPING_H_ | ||
| 3 | |||
| 4 | int map_file(const char* filename, void **addr, size_t *size); | ||
| 5 | |||
| 6 | |||
| 7 | #endif | ||
| 8 | |||
diff --git a/include/timestamp.h b/include/timestamp.h index ae50ae1..7874458 100644 --- a/include/timestamp.h +++ b/include/timestamp.h | |||
| @@ -8,6 +8,8 @@ struct timestamp { | |||
| 8 | int cpu; | 8 | int cpu; |
| 9 | }; | 9 | }; |
| 10 | 10 | ||
| 11 | int str2event(const char* str, unsigned long *id); | ||
| 12 | |||
| 11 | #define ENABLE_CMD 0L | 13 | #define ENABLE_CMD 0L |
| 12 | 14 | ||
| 13 | #define TIMESTAMP(id) id ## L | 15 | #define TIMESTAMP(id) id ## L |
