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

do not expose bcc_elf.h as uapi header #2194

Merged
merged 1 commit into from
Feb 11, 2019
Merged

do not expose bcc_elf.h as uapi header #2194

merged 1 commit into from
Feb 11, 2019

Conversation

yonghong-song
Copy link
Collaborator

Commit 51480d0 ("implement free_bcc_memory() API")
exposed bcc_elf.h as a uapi header. The original
implementation does not provide a BPFModule level
api so this header can be used to call free_bcc_memory()
for applications using BPFModule level API.

Later Commit 4c5509f ("Add free_bcc_memory to BPFModule")
added such an interface in BPFModule, so exposing this
header becomes unnecessary.

So removing bcc_elf.h from uapi headers.

Signed-off-by: Yonghong Song [email protected]

Commit 51480d0 ("implement free_bcc_memory() API")
exposed bcc_elf.h as a uapi header. The original
implementation does not provide a BPFModule level
api so this header can be used to call free_bcc_memory()
for applications using BPFModule level API.

Later Commit 4c5509f ("Add free_bcc_memory to BPFModule")
added such an interface in BPFModule, so exposing this
header becomes unnecessary.

So removing bcc_elf.h from uapi headers.

Signed-off-by: Yonghong Song <[email protected]>
@yonghong-song yonghong-song merged commit 5a57870 into master Feb 11, 2019
palexster pushed a commit to palexster/bcc that referenced this pull request Jul 7, 2019
Commit 51480d0 ("implement free_bcc_memory() API")
exposed bcc_elf.h as a uapi header. The original
implementation does not provide a BPFModule level
api so this header can be used to call free_bcc_memory()
for applications using BPFModule level API.

Later Commit 4c5509f ("Add free_bcc_memory to BPFModule")
added such an interface in BPFModule, so exposing this
header becomes unnecessary.

So removing bcc_elf.h from uapi headers.

Signed-off-by: Yonghong Song <[email protected]>
CrackerCat pushed a commit to CrackerCat/bcc that referenced this pull request Jul 31, 2024
Commit 51480d0 ("implement free_bcc_memory() API")
exposed bcc_elf.h as a uapi header. The original
implementation does not provide a BPFModule level
api so this header can be used to call free_bcc_memory()
for applications using BPFModule level API.

Later Commit 4c5509f ("Add free_bcc_memory to BPFModule")
added such an interface in BPFModule, so exposing this
header becomes unnecessary.

So removing bcc_elf.h from uapi headers.

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.

1 participant