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

Move BCC debug options to a installed header file #1442

Merged
merged 1 commit into from
Nov 10, 2017

Conversation

palmtenor
Copy link
Member

Currently BCC debug options are defined in common.h, which is not an installed header. Thus, if user want to use those options, they'll need to inspect the code and manually pass the integer value to BPF or BPFModule constructor.

This commit moves the options to bpf_module.h which is installed. Also fix the silly mistake I made in #1436 that DEBUG_BPF_REGISTER_STATE was defined to be 0x16 rather than just 16 (0x10).

Copy link
Collaborator

@yonghong-song yonghong-song left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@4ast 4ast merged commit 5e86c13 into iovisor:master Nov 10, 2017
@palmtenor palmtenor deleted the enum_header branch November 10, 2017 02:55
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.

3 participants