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 'tools/syscount' from using incorrect fallback values #1388

Merged
merged 1 commit into from
Oct 12, 2017

Conversation

sandip4n
Copy link
Contributor

This prevents tools/syscount from using incorrect system call names if the 'ausyscall' command is not found. This is because it does not come pre-installed in all distros. In this case, it uses a lookup table as a fallback but this table is usable for x86_64 only. For now, we fix this by raising an exception and exiting if the ausyscall executable is not available for non-x86_64 systems instead of having additional lookup tables for other architectures.

This prevents 'tools/syscount' from using incorrect system
call descriptions if the 'ausyscall' command is not found.
In this case, it uses a lookup table as a fallback. This,
however, is compliant with x86_64 only.

For now, we fix this by raising an exception and exiting if
the 'ausyscall' executable is not available for non-x86_64
systems instead of having additional lookup tables for other
architectures.

Signed-off-by: Sandipan Das <sandipan@linux.vnet.ibm.com>
@brendangregg
Copy link
Member

ok, thanks, makes sense for now.

@brendangregg
Copy link
Member

[buildbot, ok to test]

2 similar comments
@yonghong-song
Copy link
Collaborator

[buildbot, ok to test]

@yonghong-song
Copy link
Collaborator

[buildbot, ok to test]

@yonghong-song
Copy link
Collaborator

@drzaeus77 could you help check buildbot issue? it seems not responding (at least publicly)?

@drzaeus77
Copy link
Collaborator

Taking a look now...a couple days ago I updated packages and jenkins plugins, as well as rebooted it. It was stuck in some weird state where the bcc-pr job was not spawning slaves.

@brendangregg brendangregg merged commit b334702 into iovisor:master Oct 12, 2017
@sandip4n sandip4n deleted the fix-tools-syscount branch November 15, 2017 09:49
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.

4 participants