hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/tools/perf/util/target.c
....@@ -1,18 +1,18 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Helper functions for handling target threads/cpus
34 *
45 * Copyright (C) 2012, LG Electronics, Namhyung Kim <namhyung.kim@lge.com>
5
- *
6
- * Released under the GPL v2.
76 */
87
98 #include "target.h"
10
-#include "util.h"
11
-#include "debug.h"
129
1310 #include <pwd.h>
11
+#include <stdio.h>
12
+#include <stdlib.h>
1413 #include <string.h>
15
-
14
+#include <linux/kernel.h>
15
+#include <linux/string.h>
1616
1717 enum target_errno target__validate(struct target *target)
1818 {