hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/tools/perf/arch/powerpc/util/skip-callchain-idx.c
....@@ -1,13 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Use DWARF Debug information to skip unnecessary callchain entries.
34 *
45 * Copyright (C) 2014 Sukadev Bhattiprolu, IBM Corporation.
56 * Copyright (C) 2014 Ulrich Weigand, IBM Corporation.
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License
9
- * as published by the Free Software Foundation; either version
10
- * 2 of the License, or (at your option) any later version.
117 */
128 #include <inttypes.h>
139 #include <dwarf.h>
....@@ -16,6 +12,10 @@
1612 #include "util/thread.h"
1713 #include "util/callchain.h"
1814 #include "util/debug.h"
15
+#include "util/dso.h"
16
+#include "util/event.h" // struct ip_callchain
17
+#include "util/map.h"
18
+#include "util/symbol.h"
1919
2020 /*
2121 * When saving the callchain on Power, the kernel conservatively saves