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

fix a bug related to syscall.py #2217

Merged
merged 1 commit into from
Feb 18, 2019
Merged

fix a bug related to syscall.py #2217

merged 1 commit into from
Feb 18, 2019

Conversation

yonghong-song
Copy link
Collaborator

Commit 218f748 refactored syscall number=>name
mapping into a separate file src/python/bcc/syscall.py.
The commit added a reference in python init.py,
and this will cause virtually all non x64 arch python
tools failure.

Commit bc0d472 attempted to fix the issue by
removing the failure in syscall.py but this is not
the correct fix for arm64 as the syscall numbers
won't match.

Removing the syscall.py reference in init.py
should be enough to restore the previous
working behavior.

Fixes: bc0d472 ("Fix BCC on arm64 by allowing missing ausyscall")
Fixes: 218f748 ("Wcohen/efficiency (#2063)")
Signed-off-by: Yonghong Song [email protected]

Commit 218f748 refactored syscall number=>name
mapping into a separate file src/python/bcc/syscall.py.
The commit added a reference in python __init__.py,
and this will cause virtually all non x64 arch python
tools failure.

Commit bc0d472 attempted to fix the issue by
removing the failure in syscall.py but this is not
the correct fix for arm64 as the syscall numbers
won't match.

Removing the syscall.py reference in __init__.py
should be enough to restore the previous
working behavior.

Fixes: bc0d472 ("Fix BCC on arm64 by allowing missing ausyscall")
Fixes: 218f748 ("Wcohen/efficiency (#2063)")
Signed-off-by: Yonghong Song <[email protected]>
@joelagnel
Copy link
Contributor

LGTM, thanks!

@yonghong-song yonghong-song merged commit cd9334c into master Feb 18, 2019
palexster pushed a commit to palexster/bcc that referenced this pull request Jul 7, 2019
Commit 218f748 refactored syscall number=>name
mapping into a separate file src/python/bcc/syscall.py.
The commit added a reference in python __init__.py,
and this will cause virtually all non x64 arch python
tools failure.

Commit bc0d472 attempted to fix the issue by
removing the failure in syscall.py but this is not
the correct fix for arm64 as the syscall numbers
won't match.

Removing the syscall.py reference in __init__.py
should be enough to restore the previous
working behavior.

Fixes: bc0d472 ("Fix BCC on arm64 by allowing missing ausyscall")
Fixes: 218f748 ("Wcohen/efficiency (iovisor#2063)")
Signed-off-by: Yonghong Song <[email protected]>
CrackerCat pushed a commit to CrackerCat/bcc that referenced this pull request Jul 31, 2024
Commit 218f748 refactored syscall number=>name
mapping into a separate file src/python/bcc/syscall.py.
The commit added a reference in python __init__.py,
and this will cause virtually all non x64 arch python
tools failure.

Commit bc0d472 attempted to fix the issue by
removing the failure in syscall.py but this is not
the correct fix for arm64 as the syscall numbers
won't match.

Removing the syscall.py reference in __init__.py
should be enough to restore the previous
working behavior.

Fixes: bc0d472 ("Fix BCC on arm64 by allowing missing ausyscall")
Fixes: 218f748 ("Wcohen/efficiency (iovisor#2063)")
Signed-off-by: Yonghong Song <[email protected]>
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.

None yet

2 participants