aboutsummaryrefslogtreecommitdiffstats
path: root/extras/scripts/host-stack/perf-tests/gdb_ldp_init
diff options
context:
space:
mode:
Diffstat (limited to 'extras/scripts/host-stack/perf-tests/gdb_ldp_init')
-rw-r--r--extras/scripts/host-stack/perf-tests/gdb_ldp_init8
1 files changed, 8 insertions, 0 deletions
diff --git a/extras/scripts/host-stack/perf-tests/gdb_ldp_init b/extras/scripts/host-stack/perf-tests/gdb_ldp_init
new file mode 100644
index 00000000000..7c2f28e2083
--- /dev/null
+++ b/extras/scripts/host-stack/perf-tests/gdb_ldp_init
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: Apache-2.0
+# Copyright (c) 2025 Cisco Systems, Inc.
+
+handle SIGUSR1 nostop noprint pass
+set print pretty on
+set exec-wrapper env 'LD_PRELOAD=/scratch/fcoras/vpp/build-root/build-vpp-native/vpp/lib/libvcl_ldpreload.so'
+set environment LDP_DEBUG=1
+set environment VCL_CONFIG=/scratch/fcoras/vpp/extras/scripts/host-stack/perf-tests/vcl_perf.conf