summaryrefslogtreecommitdiff
path: root/samples/bpf/syscall_tp_user.c
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/syscall_tp_user.c')
-rw-r--r--samples/bpf/syscall_tp_user.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/samples/bpf/syscall_tp_user.c b/samples/bpf/syscall_tp_user.c
index a0ebf1833ed3..c55383068384 100644
--- a/samples/bpf/syscall_tp_user.c
+++ b/samples/bpf/syscall_tp_user.c
@@ -36,6 +36,9 @@ static void verify_map(int map_id)
fprintf(stderr, "failed: map #%d returns value 0\n", map_id);
return;
}
+
+ printf("verify map:%d val: %d\n", map_id, val);
+
val = 0;
if (bpf_map_update_elem(map_id, &key, &val, BPF_ANY) != 0) {
fprintf(stderr, "map_update failed: %s\n", strerror(errno));