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

bcc: add lru_hash and lru_percpu_hash map types #836

Merged
merged 3 commits into from
Dec 2, 2016

Conversation

shodoco
Copy link
Contributor

@shodoco shodoco commented Dec 1, 2016

Both BPF_MAP_TYPE_LRU_HASH and BPF_MAP_TYPE_LRU_PERCPU_HASH will be available in 4.10 kernel.
Links to kernel commits: BPF_MAP_TYPE_LRU_HASH, BPF_MAP_TYPE_LRU_PERCPU_HASH.

Also a small change (adding BPF_PROG_TYPE_PERF_EVENT to bpf_prog_type) to sync up bpf.h and virtual_bpf.h.

@drzaeus77
Copy link
Collaborator

[buildbot, ok to test]

@drzaeus77
Copy link
Collaborator

In a follow-on commit, it would be good to add support in python/others, as well as a unit test or two.

@4ast 4ast merged commit 211a989 into iovisor:master Dec 2, 2016
@shodoco shodoco deleted the lruhash branch December 5, 2016 22:16
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