mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Initial revision
This commit is contained in:
21
sysprof-module.h
Normal file
21
sysprof-module.h
Normal file
@ -0,0 +1,21 @@
|
||||
#ifndef SYSPROF_MODULE_H
|
||||
#define SYSPROF_MODULE_H
|
||||
|
||||
typedef struct SysprofStackTrace SysprofStackTrace;
|
||||
|
||||
#define SYSPROF_MAX_ADDRESSES 1024
|
||||
|
||||
struct SysprofStackTrace
|
||||
{
|
||||
int pid;
|
||||
int truncated;
|
||||
int n_addresses; /* note: this can be 1 if the process was compiled
|
||||
* with -fomit-frame-pointer or is otherwise weird
|
||||
*/
|
||||
void *addresses[SYSPROF_MAX_ADDRESSES];
|
||||
|
||||
char filename[8192];
|
||||
int map_start;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user