Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
HeteroFlow
THAPI
Commits
aea74f57
Commit
aea74f57
authored
Mar 12, 2021
by
Brice Videau
Browse files
Removed bashisms.
parent
2954e3fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/xprof.sh.erb.in
View file @
aea74f57
...
...
@@ -122,7 +122,7 @@ trace_epilogue() {
summary
()
{
if
[
-z
"
$@
"
]
;
then
if
[
"$#"
-eq
0
]
;
then
<%
if
languages.include?
(
"opencl"
)
and languages.include?
(
"ze"
)
%>
lttng_last_session
=
$(
ls
-dt
${
LTTNG_HOME
:-
$HOME
}
/lttng-traces/
*
|
head
-1
)
<% elsif languages.include?
(
"opencl"
)
%>
...
...
@@ -176,7 +176,7 @@ summary() {
# | (_| | _> | | | (_| /--\ | (_| \/
# _| _|
display
=
"compact"
;
if
[
[
$#
-eq
0
]
]
;
then
if
[
"
$#
"
-eq
0
]
;
then
display_help
fi
...
...
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