We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The idea is that tracepoints can be enabled via command line argument. A list of strings can be passed via
--trace=TRACEPOINT1,TRACEPOINT2
which is passed to the router constructor:
Router(args, str(i), interfaces=interfaces, tracepoints=self.args.trace.split(","), trace_directory=XXX, mm=mm, log_directory=ld)
Default is disabled tracing (thus, self.args.trace.split(",") will not work if no argument is given). Just an example.
self.args.trace.split(",")
See tracepoint and trace_directory as additional arguments. E.g. there: https://github.com/protocollabs/dmpr-simulator/blob/master/dmpr-simulator.py#L944
To pass enabled tracepoints to the command line allows us to start tests with distinct tracepoints without modifying the source code.
The text was updated successfully, but these errors were encountered:
Implemented in newest dmpr-core, see #5
Sorry, something went wrong.
Can be closed
Merge pull request protocollabs#3 from vidBS/master
df31422
core cleanup
reisub-de
No branches or pull requests
The idea is that tracepoints can be enabled via command line argument. A list of strings can be passed via
which is passed to the router constructor:
Default is disabled tracing (thus,
self.args.trace.split(",")
will not work if no argument is given). Just an example.See tracepoint and trace_directory as additional arguments.
E.g. there: https://github.com/protocollabs/dmpr-simulator/blob/master/dmpr-simulator.py#L944
To pass enabled tracepoints to the command line allows us to start tests with distinct tracepoints without modifying the source code.
The text was updated successfully, but these errors were encountered: