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

add startup arg snaplen to control max length of syscall data buffer #387

Merged
merged 8 commits into from
Dec 8, 2022

Conversation

sanyangji
Copy link
Collaborator

@sanyangji sanyangji commented Dec 7, 2022

Signed-off-by: sanyangji songyujie@zju.edu.cn

Description

Config snaplen is used to control max length of syscall data buffer, for example, the length of data of syscall write / read.
Default value: 80
Max value: 65,000
Usage: export as an environment value in the format of SNAPLEN.

# kindling-deploy.yml
        env:
        - name: HOST_PROC
          value: /host/proc
        - name: PL_HOST_PATH
          value: /host
        - name: SYSDIG_HOST_ROOT
          value: /host
        - name: SNAPLEN
          value: "1000"

Related Issue

#314 mysql协议的sql显示不全
#324 Support to configure snaplen through startup args

Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
@sanyangji sanyangji requested review from dxsup and jundizhou December 7, 2022 12:03
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Signed-off-by: sanyangji <songyujie@zju.edu.cn>
Copy link
Member

@dxsup dxsup left a comment

Choose a reason for hiding this comment

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

LGTM

@dxsup dxsup merged commit 227f9d7 into KindlingProject:main Dec 8, 2022
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