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

Tracepoints: Add support for data_loc params and sock and skb types #2168

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

kevsecurity
Copy link
Contributor

@kevsecurity kevsecurity commented Feb 29, 2024

Tracepoint strings are typically presented as data_loc char buffers. This series provides support for these when they hold strings. The second commit in this series standardises on a global set of types that we support. The third commit adds support for sock and skb types.

Add support for data_loc char buffers.

@kevsecurity kevsecurity added the release-note/minor This PR introduces a minor user-visible change label Feb 29, 2024
@kevsecurity kevsecurity requested a review from a team as a code owner February 29, 2024 18:21
@kevsecurity kevsecurity force-pushed the pr/kevsecurity/add-data-loc-type branch from d1acc66 to 8289826 Compare February 29, 2024 18:27
Tracepoint strings are typically presented as data_loc buffers. This
commit provides support for these when they hold strings.

Signed-off-by: Kevin Sheldrake <kevin.sheldrake@isovalent.com>
We refer to types by names and currently have two lists which aren't
entirely the same. This commit removes one list and modifies code to use
the remaining list.

Signed-off-by: Kevin Sheldrake <kevin.sheldrake@isovalent.com>
@kevsecurity kevsecurity force-pushed the pr/kevsecurity/add-data-loc-type branch from 8289826 to 1b89802 Compare February 29, 2024 18:28
Tracepoints can have socket and datagram pointers as parameters. This
commit adds support for them.

Signed-off-by: Kevin Sheldrake <kevin.sheldrake@isovalent.com>
@kevsecurity kevsecurity changed the title Tracepoints: Add support for data_loc params Tracepoints: Add support for data_loc params and sock and skb types Feb 29, 2024
@kevsecurity kevsecurity merged commit b5df4ea into main Feb 29, 2024
39 checks passed
@kevsecurity kevsecurity deleted the pr/kevsecurity/add-data-loc-type branch February 29, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/minor This PR introduces a minor user-visible change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants