Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,7 @@ third_party
*.bc
*.o
*.so
*.gcda
*.gcno
node_names.h
tests/__pycache__
10 changes: 5 additions & 5 deletions src/trace_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ static ExecutorStart_hook_type prev_ExecutorStart_hook = NULL;
static ExecutorFinish_hook_type prev_ExecutorFinish_hook = NULL;
static ProcessUtility_hook_type prev_ProcessUtility_hook = NULL;

bool isExecuteTime = false;
bool isExecuteTime = false;

int ExecutorRunNestLevel = 0;
static int ExecutorRunNestLevel = 0;

/* GUC parametrs */
int writeMode = JSON_WRITE_MODE;
bool traceLWLocksForEachNode = true;
bool writeOnlySleepLWLocksStat = true;
int writeMode = JSON_WRITE_MODE;
static bool traceLWLocksForEachNode = true;
static bool writeOnlySleepLWLocksStat = true;


static const struct config_enum_entry writeModeOptions[] = {
Expand Down
2 changes: 1 addition & 1 deletion src/uprobe_factory.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ typedef struct UprobeFactoryEntry
} UprobeFactoryEntry;


UprobeFactoryEntry staticEntries[] = {
static UprobeFactoryEntry staticEntries[] = {
{
.interfaceInit = UprobeAttachTimeInit,
.storageInit = UprobeStorageTimeInit,
Expand Down
2 changes: 1 addition & 1 deletion src/uprobe_message_buffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ typedef struct MessageBuffer
} MessageBuffer;


MessageBuffer *messageBuffer;
static MessageBuffer *messageBuffer;


static bool WaitUntillMessageBufferHasSpace(void);
Expand Down