mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Program flow: - Parse the test's own executable to calculate the file offset of the uprobe target function symbol - Enable the uprobe at the target function - Call the target function to trigger the uprobe, and hence the uprobes vma creation - C/R - Call the target function again to check that no SIGTRAP is sent, since the uprobe is still active At least v1.7 of libtracefs is required because that's when tracefs_instance_reset was introduced. The uprobes API was introduced in v1.4, and the dynamic events API was introduced in v1.3. Ubuntu Focal doesn't have libtracefs. Jammy has v1.2.5, and Noble has v1.7. Signed-off-by: Shashank Balaji <shashank.mahadasyam@sony.com>
34 lines
430 B
Bash
Executable file
34 lines
430 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
pacman -Syu --noconfirm \
|
|
asciidoctor \
|
|
base-devel \
|
|
bash \
|
|
coreutils \
|
|
diffutils \
|
|
git \
|
|
gnutls \
|
|
go \
|
|
iproute2 \
|
|
iptables \
|
|
libaio \
|
|
libbsd \
|
|
libcap \
|
|
libdrm \
|
|
libelf \
|
|
libnet \
|
|
libnl \
|
|
libtraceevent \
|
|
libtracefs \
|
|
nftables \
|
|
pkg-config \
|
|
protobuf \
|
|
protobuf-c \
|
|
python-importlib-metadata \
|
|
python-pip \
|
|
python-protobuf \
|
|
python-yaml \
|
|
sudo \
|
|
tar \
|
|
util-linux \
|
|
util-linux-libs
|