diff --git a/examples/tracing/urandomread-explicit.py b/examples/tracing/urandomread-explicit.py index 17049c713c3d..448ffdfc473d 100755 --- a/examples/tracing/urandomread-explicit.py +++ b/examples/tracing/urandomread-explicit.py @@ -33,7 +33,7 @@ int printarg(struct urandom_read_args *args) { bpf_trace_printk("%d\\n", args->got_bits); return 0; -}; +} """ # load BPF program diff --git a/examples/tracing/urandomread.py b/examples/tracing/urandomread.py index 2f46bdaa9067..319db2ca558f 100755 --- a/examples/tracing/urandomread.py +++ b/examples/tracing/urandomread.py @@ -20,7 +20,7 @@ // args is from /sys/kernel/debug/tracing/events/random/urandom_read/format bpf_trace_printk("%d\\n", args->got_bits); return 0; -}; +} """) # header