Sei sulla pagina 1di 304
LFD320 Linux Kernel Internals and Debugging Pood SIF Sed & Me! & Mok Version 3.17 2 = = LINUX cl FOUNDATION PEGS oS 141 Process Lita 142 Capabilities 7 Ma Lae Mositoring and Debugging 15. Deboginfo Packages 152 ‘Tracing ond Profiling 15. sysctl 1A Sys Key: 155 cope Mesages 186 Kernel Debuggers 187 Late 7 : 16 The proc Filesystem ** uw 16.1 What the proc Flesystent? 162 Creating and Removing Botias 10.1 eating sod Weting Entries 164 Tho soq fo Tvarface ** 185. Cae kprebes 112 kprobes eit 172 etprobes ATS probes. ev STA SystemTog 175 Late Ferece 181 What lef aoe? : 182. Rerace, tre:ecmd and kernelsharl 163 Available nee 184 Using ferave 7 185. Files in tho Tracing Directory 186 Thacig Op ions... 187 Printing wih trace printk() 188 Teac Mashars 189 Dumping te Buller 1810 teaceeand 1812 Labe Pest 191 Waat le perf? 192 Using perf 19) Lae conTanTs m m3. at i 125 5 18 129 a m4 as ast 138 x0 aaa my us 16 ro a9 M9 10 150 10 153 185 155 156 187 187 60 150 160 165, ° ° « € £ = « € « € € « 3 e « e © e e € e « = © & e « @ e Ty 20Crash @ : 201 Crush Sg 92 Main Commande 7 S m3 Late. . 21 Kornol Core Dumps 211 Geoerting Kerel Core Duma 212 kexse 213 Seting Up Kernel Coe Dumps 2A Lae 7 22 Scheduling Basies 221 Main Scheduling Tasks m2 SMP 223 Scheduling Prices 224 Scheduling System Calla 225 The 24 schedule) Function 226 Ot) Scheduler 227 Time Slice and Pristies 228 Load Balancing 229 Prity Inversion and Pelority Inbrtanee ** 2210 Late 28 Completely Fair Scheduler (CFS) 21 The OFS Scheduler 282 Calculating Priorities and Fie Times 283 Schedslng Case 234 CFS Schouler Detaie | 235 Labe 24°Timing Measurements 241 Kinds of Timing Measurements 242 fee 243 Gating the Cutest Tine DLA Clock Sources 245 Real Tine Clock 246 Programmable laerval Tiner 247 Time Stamp Counter 248 HPET 243 Going Tickles: 2420 Lae 7 26 Kernel Timers 25:1 What ate Kero! Times? 252 Low Resolution Timer Functions. ss 105, 1 109 160 160 170 m 113 mm 14 mm m1 va a8 m9 19 160 183 1 1 185, 187 180 a1 wo wa 199 180, er 104 194 195, 195 196 197 17 emo. var (© Conyiht the Linux Foundation 2014. Al igh reserved

Potrebbero piacerti anche