-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
tests: add support for running things under rr
.
#14920
Conversation
c1ccc6b
to
cb72d12
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues with the code, just a couple docs nits. Otherwise looks amazing!
doc/developer/topotests.rst
Outdated
"""""""""""""""""""""""""""""""""""""""""""""" | ||
|
||
Topotest can automatically launch any daemon under ``rr(1)`` to collect | ||
execute state. The daemon is run in non-daemon mode with ``rr record``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
execution*, and maybe "in the foreground" would be clearer than "non daemon mode"
doc/developer/topotests.rst
Outdated
(in a `rr` subdir that rr creates) under the test's run directoy. | ||
|
||
Here's an example of collecting ``rr`` execution state from ``mgmtd`` on router | ||
``r1`` during the config_timing test. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config_timing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
config_timing
not sure what's being asked for here :) Oh.. I think you might mean add double ticks...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I put double backtics but github rendered them; I'm saying config_timing should be code-formatted in the docs.
@choppsv1 There are instances where FRR drops the permissions to nobody:nobody , does rr supports recording in that case, where the recording is done. |
|
Signed-off-by: Christian Hopps <[email protected]>
cb72d12
to
477b561
Compare
I'm not sure; however, I don't see why not, rr is not dropping permissions. |
ci:rerun |
side note: very nice addition, just can't run it on AMD Ryzen :( rr-debugger/rr#2034 |
No description provided.