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 wkdev-setup-debugging host script #24

Open
TingPing opened this issue Jun 4, 2024 · 2 comments
Open

Add wkdev-setup-debugging host script #24

TingPing opened this issue Jun 4, 2024 · 2 comments
Assignees

Comments

@TingPing
Copy link
Member

TingPing commented Jun 4, 2024

patrick@wkdev:~/checkout/WebKit$ rr record echo 'hello world'
rr needs /proc/sys/kernel/perf_event_paranoid <= 1, but it is 2.
Change it to 1, or use 'rr record -n' (slow).
Consider putting 'kernel.perf_event_paranoid = 1' in /etc/sysctl.d/10-rr.conf.
See 'man 8 sysctl', 'man 5 sysctl.d' (systemd systems)
and 'man 5 sysctl.conf' (non-systemd systems) for more details.
@nikolaszimmermann
Copy link
Collaborator

I'm not sure anymore if we really need this. rr is actually nice and explains what you need to do on your host system.
How about we just add a README.md section for tools like rr/perf/etc. and describe with a few sentences what needs to be done on the host -- there are so many host distros, that handle things differently, probably hard to script it.

@fred-wang
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants