We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
; was missing from BPF_STACK_TRACE(stack_traces, STACK_STORAGE_SIZE).
diff --git a/old/2017-12-23/mallocstacks.py b/old/2017-12-23/mallocstacks.py index 8891e82..92271ed 100755 --- a/old/2017-12-23/mallocstacks.py +++ b/old/2017-12-23/mallocstacks.py @@ -96,7 +96,7 @@ struct key_t { char name[TASK_COMM_LEN]; }; BPF_HASH(bytes, struct key_t); -BPF_STACK_TRACE(stack_traces, STACK_STORAGE_SIZE) +BPF_STACK_TRACE(stack_traces, STACK_STORAGE_SIZE); int trace_malloc(struct pt_regs *ctx, size_t size) { u32 pid = bpf_get_current_pid_tgid();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The text was updated successfully, but these errors were encountered: