-
Notifications
You must be signed in to change notification settings - Fork 175
Profiling no kernel version check #3168
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
Merged
+25
−1
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
fe60e0a
Create profiling-no-kernel-version-check.asciidoc
iogbole 0a95b2c
Update profiling-no-kernel-version-check.asciidoc
iogbole 1d41434
Update profiling-no-kernel-version-check.asciidoc
iogbole fcb0520
Update profiling-advanced-configuration.asciidoc
iogbole 858296b
Update profiling-advanced-configuration.asciidoc
iogbole aae8700
Update docs/en/observability/profiling-no-kernel-version-check.asciidoc
iogbole 22e539d
Update docs/en/observability/profiling-advanced-configuration.asciidoc
iogbole ecd1f91
Update docs/en/observability/profiling-no-kernel-version-check.asciidoc
iogbole 9c366b0
add override kernel check to index
mdbirnstiehl 57ffb67
Update docs/en/observability/profiling-advanced-configuration.asciidoc
iogbole 9255b93
Apply suggestions from code review
mdbirnstiehl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
docs/en/observability/profiling-no-kernel-version-check.asciidoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| [[profiling-no-kernel-version-check]] | ||
| = Override kernel version check | ||
|
|
||
| The `-no-kernel-version-check` flag, or the `no-kernel-version-check` key in the host-agent configuration file, controls the kernel version compatibility check during the profiling host-agent's startup process. The kernel version compatibility check enforces the minimum kernel version supported, and prevents the profiling agent from running on certain kernel versions with known issues. When the `no-kernel-version-check` is set to `true`, the compatibility check is bypassed, allowing host-agent execution to proceed regardless of the kernel version. By default, this option is set to `false`, and the kernel compatibility version check is performed as usual. | ||
|
|
||
| WARNING: Take extra caution when using this configuration option, especially when running the host-agent on older kernels with backported eBPF functionalities. Setting this option to `true` on kernels with unfixed eBPF bugs can crash your system. | ||
|
|
||
| [discrete] | ||
| [[profiling-no-kernel-example]] | ||
| == Host agent configuration example | ||
|
|
||
| The following example shows how to configure the `-no-kernel-version-check` in the Universal Profiling agent CLI: | ||
|
|
||
| [source,bash] | ||
| ---- | ||
| sudo pf-host-agent/pf-host-agent -no-kernel-version-check=true ...' | ||
| ---- | ||
|
|
||
|
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.