Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
tsn-measures
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
tsn-measures
Commits
d9a21ee7
Commit
d9a21ee7
authored
Jul 31, 2020
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add buffer size option to tracecmd in run-client
Change -b to -m in tracecmd
parent
25c34527
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
7 deletions
+10
-7
scripts/run-client
scripts/run-client
+10
-7
No files found.
scripts/run-client
View file @
d9a21ee7
...
...
@@ -7,7 +7,7 @@ usage() {
Usage:
$0
QDISC_OPT [CLIENT_OPTS] BOARD
QDISC_OPTS: (-e delta [-o etf_offset] | -p)
CLIENT_OPTS: -bgt -i INTERVAL -d TX_BUF_LEN [TRACE_OPTS]
TRACE_OPTS: [-T -P TRACER -E EVENTS]
TRACE_OPTS: [-T -P TRACER -E EVENTS
-B SIZE
]
default tracer opts: irq, sched, net_dev_start_xmit,
net_dev_xmit, net_dev_xmit_timeout
ENDUSAGE
...
...
@@ -26,7 +26,7 @@ etf_offset=500
tracecmd_events
=
"-e irq -e sched -e net_dev_start_xmit -e net_dev_xmit -e net_dev_xmit_timeout"
tracecmd_opts
=
""
while
getopts
"bd:e:o:ghi:pt
TP:E:
"
opt
;
do
while
getopts
"bd:e:o:ghi:pt
B:E:P:T
"
opt
;
do
case
"
${
opt
}
"
in
b
)
client_options+
=
" -b"
...
...
@@ -62,15 +62,18 @@ while getopts "bd:e:o:ghi:ptTP:E:" opt; do
use_timestamps
=
1
client_options+
=
" -t"
;;
T
)
use_tracer
=
1
client_options+
=
" -T"
B
)
tracecmd_opts+
=
" -m
${
OPTARG
}
-b
${
OPTARG
}
"
;;
E
)
tracecmd_events
=
${
OPTARG
}
;;
P
)
tracecmd_opts+
=
" -p
${
OPTARG
}
"
;;
E
)
tracecmd_events
=
${
OPTARG
}
T
)
use_tracer
=
1
client_options+
=
" -T"
;;
*
)
usage
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment