Files
sysprof/sysprof-module.h
2004-06-17 17:37:33 +00:00

19 lines
386 B
C

#ifndef SYSPROF_MODULE_H
#define SYSPROF_MODULE_H
typedef struct SysprofStackTrace SysprofStackTrace;
#define SYSPROF_MAX_ADDRESSES 512
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];
};
#endif