summaryrefslogtreecommitdiff
path: root/samples/fprobe
diff options
context:
space:
mode:
Diffstat (limited to 'samples/fprobe')
-rw-r--r--samples/fprobe/fprobe_example.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/samples/fprobe/fprobe_example.c b/samples/fprobe/fprobe_example.c
index 18b1e5c4b431..e22da8573116 100644
--- a/samples/fprobe/fprobe_example.c
+++ b/samples/fprobe/fprobe_example.c
@@ -20,7 +20,7 @@
#define BACKTRACE_DEPTH 16
#define MAX_SYMBOL_LEN 4096
-struct fprobe sample_probe;
+static struct fprobe sample_probe;
static unsigned long nhit;
static char symbol[MAX_SYMBOL_LEN] = "kernel_clone";