Make perf event buffer pageNum configurable instead of hard-coded #245
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently, the third parameter passed to the following functions in agent.go is hard-coded (for example: 2048, 512, 4, 32):
PullSyscallDataEvents
PullSslDataEvents
PullConnDataEvents
PullKernEvents
This parameter is used to control the size of the perf event buffer (
pageNum
).Proposed Changes
pageNum
for each event type.PullSyscallDataEvents
,PullSslDataEvents
,PullConnDataEvents
, andPullKernEvents
calls with a new configuration parameter.Additional Context
Please add any suggestions or comments below. If you have an implementation idea, feel free to submit a pull request!
The text was updated successfully, but these errors were encountered: