From 8268edbe00f618ae74fc55e63e828b362240ec7f Mon Sep 17 00:00:00 2001 From: Liu Bo Date: Fri, 9 Feb 2018 11:58:40 -0700 Subject: [PATCH] urandomread.py: remove extra tail semicolon after TRACEPOINT_PROBE A function definition doesn't need a tail semicolon. Signed-off-by: Liu Bo --- examples/tracing/urandomread-explicit.py | 2 +- examples/tracing/urandomread.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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