summaryrefslogtreecommitdiffstats
path: root/src/scripts/host-stack/convert_evt
blob: 1aba67d026810ccc0518f0e0c23be40687ed6d29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

# This depends on c2cpel and cpeldump. Enable their compilation by:
# ccmake build-root/build-vpp-native/vpp/
# and turning on VPP_BUILD_PERFTOOL

BIN_PATH=../../../build-root/install-vpp-native/vpp/bin
C2CPEL_BIN=$BIN_PATH/c2cpel
CPELDUMP_BIN=$BIN_PATH/cpeldump

$C2CPEL_BIN --in $1 --out /tmp/tmp_file.cpel
$CPELDUMP_BIN --in /tmp/tmp_file.cpel --out $2