aboutsummaryrefslogtreecommitdiffstats
path: root/nfvbench/nfvbench.py
diff options
context:
space:
mode:
Diffstat (limited to 'nfvbench/nfvbench.py')
-rw-r--r--nfvbench/nfvbench.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/nfvbench/nfvbench.py b/nfvbench/nfvbench.py
index 9b8b3d1..ee4f6a5 100644
--- a/nfvbench/nfvbench.py
+++ b/nfvbench/nfvbench.py
@@ -551,6 +551,15 @@ def _parse_opts_from_cli():
default=False,
help='Disable latency measurements (no streams)')
+ parser.add_argument('--debug-mask', dest='debug_mask',
+ type=int_arg,
+ metavar='<mask>',
+ action='store',
+ default='0x00000000',
+ help='General purpose register (debugging flags), '
+ + 'the hexadecimal notation (0x...) is accepted.'
+ + 'Designed for development needs.')
+
opts, unknown_opts = parser.parse_known_args()
return opts, unknown_opts