Skip to content
New issue

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

tools/statsnoop: bring back the syscall__ prefix #4668

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

wenjianhn
Copy link
Contributor

fn_name of a syscall should start with "syscall__".

See
https://github.com/iovisor/bcc/blob/v0.28.0/src/cc/frontends/clang/b_frontend_action.cc#L818

Without the patch, file names will not be printed.

Fixes: c743fcb ("tools/statsnoop: Add some stat() variants (#4367)")

fn_name of a syscall should start with "syscall__".

See
https://github.com/iovisor/bcc/blob/v0.28.0/src/cc/frontends/clang/b_frontend_action.cc#L818

Without the patch, file names will not be printed.

Fixes: c743fcb ("tools/statsnoop: Add some stat() variants (iovisor#4367)")

Signed-off-by: Jian Wen <[email protected]>
@wenjianhn
Copy link
Contributor Author

wenjianhn commented Jul 10, 2023

@xingfeng2510 please take a look.

@yonghong-song yonghong-song merged commit 18b00a9 into iovisor:master Jul 10, 2023
@wenjianhn wenjianhn deleted the syscall-stat branch July 11, 2023 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants