]>
Commit | Line | Data |
---|---|---|
bd6521f0 A |
1 | // |
2 | // KDebug.h | |
3 | // KDBG | |
4 | // | |
5 | // Created by James McIlree on 4/15/13. | |
6 | // Copyright (c) 2014 Apple. All rights reserved. | |
7 | // | |
8 | ||
9 | #ifndef KDebug_KDebug_h | |
10 | #define KDebug_KDebug_h | |
11 | ||
12 | #include <sys/sysctl.h> | |
13 | #include <sys/buf.h> | |
14 | #include <mach/task_policy.h> | |
15 | ||
16 | #ifndef KERNEL_PRIVATE | |
17 | #define KERNEL_PRIVATE | |
18 | #include <sys/kdebug.h> | |
19 | #undef KERNEL_PRIVATE | |
20 | #else | |
21 | #error Something is really strage... | |
22 | #endif /*KERNEL_PRIVATE*/ | |
23 | ||
24 | #include <vector> | |
25 | #include <unordered_map> | |
26 | #include <unordered_set> | |
27 | #include <algorithm> | |
28 | ||
29 | #include <libkern/OSAtomic.h> | |
30 | ||
31 | #include <CPPUtil/CPPUtil.h> | |
32 | ||
33 | using namespace util; | |
34 | ||
35 | #include "MetaTypes.hpp" | |
36 | #include "TaskRequestedPolicy.hpp" | |
37 | #include "TaskEffectivePolicy.hpp" | |
38 | #include "KDState.hpp" | |
39 | #include "KDThreadMapEntry.hpp" | |
40 | #include "KDCPUMapEntry.hpp" | |
41 | #include "KDEvent.hpp" | |
42 | #include "KDBG.hpp" | |
43 | #include "Kernel.hpp" | |
44 | #include "TraceCodes.hpp" | |
45 | #include "MachineVoucher.hpp" | |
46 | #include "VoucherInterval.hpp" | |
47 | #include "MachineThread.hpp" | |
48 | #include "IOActivity.hpp" | |
49 | #include "CPUActivity.hpp" | |
50 | #include "ThreadSummary.hpp" | |
51 | #include "ProcessSummary.hpp" | |
52 | #include "MachineMachMsg.hpp" | |
53 | #include "NurseryMachMsg.hpp" | |
54 | #include "CPUSummary.hpp" | |
55 | #include "MachineCPU.hpp" | |
56 | #include "MachineProcess.hpp" | |
57 | #include "TraceDataHeader.hpp" | |
58 | #include "TraceFile.hpp" | |
59 | #include "Machine.hpp" | |
60 | #include "Machine.impl.hpp" | |
61 | #include "Machine.mutable-impl.hpp" | |
62 | #include "MachineProcess.impl.hpp" | |
63 | #include "MachineProcess.mutable-impl.hpp" | |
64 | #include "MachineThread.impl.hpp" | |
65 | #include "MachineThread.mutable-impl.hpp" | |
66 | #include "MachineCPU.impl.hpp" | |
67 | #include "MachineCPU.mutable-impl.hpp" | |
68 | ||
69 | #endif |