Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
dfc97063
Commit
dfc97063
authored
Apr 27, 2016
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
run_valgrind.sh: update ebpm command-line options
parent
faa40074
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
run_valgrind.sh
run_valgrind.sh
+13
-4
No files found.
run_valgrind.sh
View file @
dfc97063
#!/bin/bash
set
-u
set
-e
# Prefix
PREFIX
=
/usr/local
# Broker Endpoint
EXPECTED_ARGS
=
1
...
...
@@ -11,12 +15,17 @@ fi
if
[
$#
-ne
$EXPECTED_ARGS
]
then
echo
"Usage:
`
basename
$0
`
{
cfg file
}"
echo
"Usage:
`
basename
$0
`
{
board slot number
}"
exit
1
;
fi
cfg_file
=
$1
board_slot
=
$1
valgrind
--leak-check
=
yes
--trace-children
=
yes
\
--suppressions
=
valgrind.supp ./dev_mngr
-f
$cfg_file
>
\
valgrind_report.txt 2>&1
--suppressions
=
valgrind.supp
\
${
PREFIX
}
/bin/ebpm
-f
${
PREFIX
}
/etc/bpm_sw/bpm_sw.cfg
\
-n
be
-t
pcie
\
-i
${
board_slot
}
-e
/dev/fpga/
${
board_slot
}
-s
0
\
-b
tcp://127.0.0.1:8978
-l
stdout
>
\
valgrind_report.txt 2>&1
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