HPCToolkit
fnbounds_file_header.h
Go to the documentation of this file.
1 #ifndef _FNBOUNDS_FILE_HEADER_
2 #define _FNBOUNDS_FILE_HEADER_
3 
4 #include <sys/types.h>
5 
6 // Extra fnbounds info beyond the array of addresses. This is used
7 // inside hpcrun between fnbounds and the loadmap.
8 //
9 // Note: this struct does not need to be platform-independent because
10 // we never write it to a file or share it across machines. In the
11 // static case, we write these fields as source code and the compiler
12 // generates the correct format.
13 
15  unsigned long num_entries;
16  unsigned long reference_offset;
18  size_t mmap_size;
19 };
20 
21 #endif
unsigned long reference_offset