summaryrefslogtreecommitdiff
path: root/tools/perf/util/perf-hooks.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/perf-hooks.c')
-rw-r--r--tools/perf/util/perf-hooks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/perf-hooks.c b/tools/perf/util/perf-hooks.c
index d55092964da2..7a0ab3507bd5 100644
--- a/tools/perf/util/perf-hooks.c
+++ b/tools/perf/util/perf-hooks.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0
/*
* perf_hooks.c
*
@@ -7,10 +8,10 @@
#include <errno.h>
#include <stdlib.h>
+#include <string.h>
#include <setjmp.h>
#include <linux/err.h>
#include <linux/kernel.h>
-#include "util/util.h"
#include "util/debug.h"
#include "util/perf-hooks.h"