- Prepare the debug environment for vaitrace in the Zynq UltraScale+ MPSoC PetaLinux
platform.
- Configure and build PetaLinux by running
petalinux-config -c kernel
. - Enable the following settings for the Linux kernel.
- General architecture-dependent options ---> [*] Kprobes
- Kernel hacking ---> [*] Tracers
- Kernel hacking ---> [*] Tracers --->
[*] Kernel Function Tracer
[*] Enable kprobes-based dynamic events
[*] Enable uprobes-based dynamic events
- Run
petalinux-config -c rootfs
and enable the following setting for root-fs.user-packages ---> modules ---> [*] packagegroup-petalinux-self-hosted
- Run
petalinux-build
.
- Configure and build PetaLinux by running
- Install vaitrace. vaitrace is integrated into the VART runtime. If VART runtime is installed, vaitrace will be installed into /usr/bin/vaitrace.