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

perf maps: add configurable parameters #44

Merged
merged 1 commit into from
May 9, 2017

Conversation

alban
Copy link
Collaborator

@alban alban commented May 9, 2017

Callers of b.Load() can optionally specifies parameters for each ELF section. This patch adds the following two parameters:

  • PerfRingBufferPageCount. Default: 8 pages
  • SkipPerfMapInitialization: Default: false

Useful for weaveworks/tcptracer-bpf#37

Callers of b.Load() can optionally specifies parameters for each ELF section. This patch adds the following two parameters:
- PerfRingBufferPageCount. Default: 8 pages
- SkipPerfMapInitialization: Default: false
Copy link
Collaborator

@schu schu left a comment

Choose a reason for hiding this comment

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

lgtm

@schu schu merged commit 7373736 into iovisor:master May 9, 2017
@schu schu deleted the alban/perf-ring-buffer-page-count branch May 9, 2017 12:27
alban added a commit to kinvolk-archives/tcptracer-bpf that referenced this pull request May 9, 2017
alban added a commit to kinvolk-archives/tcptracer-bpf that referenced this pull request May 9, 2017
alban added a commit to kinvolk-archives/tcptracer-bpf that referenced this pull request May 10, 2017
alban added a commit to kinvolk-archives/tcptracer-bpf that referenced this pull request May 10, 2017
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.

2 participants