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

Dtrace gnn mbufcopy #62

Open
wants to merge 5 commits into
base: dtrace
Choose a base branch
from
Open

Dtrace gnn mbufcopy #62

wants to merge 5 commits into from

Conversation

gvnn3
Copy link
Contributor

@gvnn3 gvnn3 commented Jan 8, 2017

A new subroutine, copyoutmbuf() which returns all the data in an mbuf chain to the caller, with appropriate safety checks.

gvnn3 added 5 commits January 6, 2017 16:37
…ght)

Example: dtrace -n '::tcp_input:entry { tracemem(copyoutmbuf(*args[0], 1500), 1500); }'
Better handle requests for the whole packet and protect against overly
aggressive requsts.
the mbuf being copied.

copyoutmbufat(struct mbuf *m, size_t len, size_t offset)
Give FreeBSD specific sub-routines their own range.
Update translators to have one for mbufs as well as vanilla pointers.
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