mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
Increase the max number of addresses to 1021, reorganise SysprofMmapArea
2006-10-26 Soren Sandmann <sandmann@daimi.au.dk> * module/sysprof-module.h (struct SysprofStackTrace): Increase the max number of addresses to 1021, reorganise SysprofMmapArea to make the traces naturally page aligned. * TODO: Update
This commit is contained in:
committed by
Søren Sandmann Pedersen
parent
e7415d4492
commit
9a1ed3d336
@ -24,8 +24,8 @@ typedef struct SysprofStackTrace SysprofStackTrace;
|
||||
typedef struct SysprofStackInfo SysprofStackInfo;
|
||||
typedef struct SysprofMmapArea SysprofMmapArea;
|
||||
|
||||
#define SYSPROF_N_TRACES 256
|
||||
#define SYSPROF_MAX_ADDRESSES 512
|
||||
#define SYSPROF_N_TRACES 64
|
||||
#define SYSPROF_MAX_ADDRESSES 1021 /* to make it one page wide */
|
||||
|
||||
struct SysprofStackTrace
|
||||
{
|
||||
@ -39,9 +39,9 @@ struct SysprofStackTrace
|
||||
|
||||
struct SysprofMmapArea
|
||||
{
|
||||
unsigned int head;
|
||||
|
||||
SysprofStackTrace traces[SYSPROF_N_TRACES];
|
||||
|
||||
unsigned int head;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user