hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
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 {