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 support for JUMP_LABEL batch-mode feature for ARM64 #352

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

Adam-pi3
Copy link
Collaborator

ARM64 added support for JUMP_LABEL batch-mode feature. This commit adds support for it and addresses #351

How Has This Been Tested?

Run it under Raspberry Pi 4 (under ALT Linux - thanks to @vt-alt ). I run it for couple of hours under the following condition:

screen 1: run the command while true; do echo 1 > /sys/kernel/debug/tracing/events/enable && echo 0 > /sys/kernel/debug/tracing/events/enable; done which enforces JUMP_LABEL batch mode
screen 2: run the command while true; do sysctl lkrg.trigger=1; sleep 1; done to enforce integrity validation.

More comprehensive tests are probably needed. However, it seems like that current logic works (at least for now).

ARM64 added support for JUMP_LABEL batch-mode feature. This commit
adds support for it and addresses lkrg-org#351
@solardiz
Copy link
Contributor

I'm OK merging this, but I suggest we discuss a bit more on #351 next.

@solardiz solardiz merged commit 2368380 into lkrg-org:main Aug 26, 2024
20 checks passed
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