blob: 1aba67d026810ccc0518f0e0c23be40687ed6d29 [file] [log] [blame]
Florin Coras3417d082019-06-12 08:12:58 -07001#!/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
7BIN_PATH=../../../build-root/install-vpp-native/vpp/bin
8C2CPEL_BIN=$BIN_PATH/c2cpel
9CPELDUMP_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