Florin Coras | 3417d08 | 2019-06-12 08:12:58 -0700 | [diff] [blame] | 1 | #!/usr/bin/env bash |
2 | |||||
3 | # This depends on c2cpel and cpeldump. Enable their compilation by: | ||||
4 | # ccmake build-root/build-vpp-native/vpp/ | ||||
5 | # and turning on VPP_BUILD_PERFTOOL | ||||
6 | |||||
7 | BIN_PATH=../../../build-root/install-vpp-native/vpp/bin | ||||
8 | C2CPEL_BIN=$BIN_PATH/c2cpel | ||||
9 | CPELDUMP_BIN=$BIN_PATH/cpeldump | ||||
10 | |||||
11 | $C2CPEL_BIN --in $1 --out /tmp/tmp_file.cpel | ||||
12 | $CPELDUMP_BIN --in /tmp/tmp_file.cpel --out $2 |