€•#^Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ#/translations/zh_CN/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/zh_TW/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/it_IT/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ja_JP/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/ko_KR/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ#/translations/sp_SP/trace/mmiotrace”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ#In-kernel memory-mapped I/O tracing”h]”hŒ#In-kernel memory-mapped I/O tracing”…””}”(hh¨hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hh£hžhhŸŒ=/var/lib/git/docbuild/linux/Documentation/trace/mmiotrace.rst”h KubhŒ paragraph”“”)”}”(hŒ1Home page and links to optional user space tools:”h]”hŒ1Home page and links to optional user space tools:”…””}”(hh¹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubhŒ block_quote”“”)”}”(hŒ/https://nouveau.freedesktop.org/wiki/MmioTrace ”h]”h¸)”}”(hŒ.https://nouveau.freedesktop.org/wiki/MmioTrace”h]”hŒ reference”“”)”}”(hhÏh]”hŒ.https://nouveau.freedesktop.org/wiki/MmioTrace”…””}”(hhÓhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”hÏuh1hÑhhÍubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KhhÉubah}”(h]”h ]”h"]”h$]”h&]”uh1hÇhŸh¶h Khh£hžhubh¸)”}”(hXMMIO tracing was originally developed by Intel around 2003 for their Fault Injection Test Harness. In Dec 2006 - Jan 2007, using the code from Intel, Jeff Muizelaar created a tool for tracing MMIO accesses with the Nouveau project in mind. Since then many people have contributed.”h]”hXMMIO tracing was originally developed by Intel around 2003 for their Fault Injection Test Harness. In Dec 2006 - Jan 2007, using the code from Intel, Jeff Muizelaar created a tool for tracing MMIO accesses with the Nouveau project in mind. Since then many people have contributed.”…””}”(hhíhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K hh£hžhubh¸)”}”(hŒ©Mmiotrace was built for reverse engineering any memory-mapped IO device with the Nouveau project as the first real user. Only x86 and x86_64 architectures are supported.”h]”hŒ©Mmiotrace was built for reverse engineering any memory-mapped IO device with the Nouveau project as the first real user. Only x86 and x86_64 architectures are supported.”…””}”(hhûhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¸)”}”(hŒxOut-of-tree mmiotrace was originally modified for mainline inclusion and ftrace framework by Pekka Paalanen .”h]”(hŒmOut-of-tree mmiotrace was originally modified for mainline inclusion and ftrace framework by Pekka Paalanen <”…””}”(hj hžhhŸNh NubhÒ)”}”(hŒ pq@iki.fi”h]”hŒ pq@iki.fi”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:pq@iki.fi”uh1hÑhj ubhŒ>.”…””}”(hj hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khh£hžhubh¢)”}”(hhh]”(h§)”}”(hŒ Preparation”h]”hŒ Preparation”…””}”(hj.hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj+hžhhŸh¶h Kubh¸)”}”(hXÏMmiotrace feature is compiled in by the CONFIG_MMIOTRACE option. Tracing is disabled by default, so it is safe to have this set to yes. SMP systems are supported, but tracing is unreliable and may miss events if more than one CPU is on-line, therefore mmiotrace takes all but one CPU off-line during run-time activation. You can re-enable CPUs by hand, but you have been warned, there is no way to automatically detect if you are losing events due to CPUs racing.”h]”hXÏMmiotrace feature is compiled in by the CONFIG_MMIOTRACE option. Tracing is disabled by default, so it is safe to have this set to yes. SMP systems are supported, but tracing is unreliable and may miss events if more than one CPU is on-line, therefore mmiotrace takes all but one CPU off-line during run-time activation. You can re-enable CPUs by hand, but you have been warned, there is no way to automatically detect if you are losing events due to CPUs racing.”…””}”(hj<hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj+hžhubeh}”(h]”Œ preparation”ah ]”h"]”Œ preparation”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kubh¢)”}”(hhh]”(h§)”}”(hŒUsage Quick Reference”h]”hŒUsage Quick Reference”…””}”(hjUhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjRhžhhŸh¶h K#ubhŒ literal_block”“”)”}”(hX&$ mount -t debugfs debugfs /sys/kernel/debug $ echo mmiotrace > /sys/kernel/tracing/current_tracer $ cat /sys/kernel/tracing/trace_pipe > mydump.txt & Start X or whatever. $ echo "X is up" > /sys/kernel/tracing/trace_marker $ echo nop > /sys/kernel/tracing/current_tracer Check for lost events.”h]”hX&$ mount -t debugfs debugfs /sys/kernel/debug $ echo mmiotrace > /sys/kernel/tracing/current_tracer $ cat /sys/kernel/tracing/trace_pipe > mydump.txt & Start X or whatever. $ echo "X is up" > /sys/kernel/tracing/trace_marker $ echo nop > /sys/kernel/tracing/current_tracer Check for lost events.”…””}”hjesbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1jchŸh¶h K&hjRhžhubeh}”(h]”Œusage-quick-reference”ah ]”h"]”Œusage quick reference”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K#ubh¢)”}”(hhh]”(h§)”}”(hŒUsage”h]”hŒUsage”…””}”(hj€hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj}hžhhŸh¶h K0ubh¸)”}”(hŒVMake sure debugfs is mounted to /sys/kernel/debug. If not (requires root privileges)::”h]”hŒUMake sure debugfs is mounted to /sys/kernel/debug. If not (requires root privileges):”…””}”(hjŽhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K2hj}hžhubjd)”}”(hŒ,$ mount -t debugfs debugfs /sys/kernel/debug”h]”hŒ,$ mount -t debugfs debugfs /sys/kernel/debug”…””}”hjœsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h K5hj}hžhubh¸)”}”(hŒ;Check that the driver you are about to trace is not loaded.”h]”hŒ;Check that the driver you are about to trace is not loaded.”…””}”(hjªhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K7hj}hžhubh¸)”}”(hŒ/Activate mmiotrace (requires root privileges)::”h]”hŒ.Activate mmiotrace (requires root privileges):”…””}”(hj¸hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K9hj}hžhubjd)”}”(hŒ5$ echo mmiotrace > /sys/kernel/tracing/current_tracer”h]”hŒ5$ echo mmiotrace > /sys/kernel/tracing/current_tracer”…””}”hjÆsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h K;hj}hžhubh¸)”}”(hŒStart storing the trace::”h]”hŒStart storing the trace:”…””}”(hjÔhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K=hj}hžhubjd)”}”(hŒ3$ cat /sys/kernel/tracing/trace_pipe > mydump.txt &”h]”hŒ3$ cat /sys/kernel/tracing/trace_pipe > mydump.txt &”…””}”hjâsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h K?hj}hžhubh¸)”}”(hŒCThe 'cat' process should stay running (sleeping) in the background.”h]”hŒGThe ‘cat’ process should stay running (sleeping) in the background.”…””}”(hjðhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KAhj}hžhubh¸)”}”(hŒLoad the driver you want to trace and use it. Mmiotrace will only catch MMIO accesses to areas that are ioremapped while mmiotrace is active.”h]”hŒLoad the driver you want to trace and use it. Mmiotrace will only catch MMIO accesses to areas that are ioremapped while mmiotrace is active.”…””}”(hjþhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KChj}hžhubh¸)”}”(hXDuring tracing you can place comments (markers) into the trace by $ echo "X is up" > /sys/kernel/tracing/trace_marker This makes it easier to see which part of the (huge) trace corresponds to which action. It is recommended to place descriptive markers about what you do.”h]”hXDuring tracing you can place comments (markers) into the trace by $ echo “X is up†> /sys/kernel/tracing/trace_marker This makes it easier to see which part of the (huge) trace corresponds to which action. It is recommended to place descriptive markers about what you do.”…””}”(hj hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KFhj}hžhubh¸)”}”(hŒ0Shut down mmiotrace (requires root privileges)::”h]”hŒ/Shut down mmiotrace (requires root privileges):”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KLhj}hžhubjd)”}”(hŒ/$ echo nop > /sys/kernel/tracing/current_tracer”h]”hŒ/$ echo nop > /sys/kernel/tracing/current_tracer”…””}”hj(sbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h KNhj}hžhubh¸)”}”(hŒ]The 'cat' process exits. If it does not, kill it by issuing 'fg' command and pressing ctrl+c.”h]”hŒeThe ‘cat’ process exits. If it does not, kill it by issuing ‘fg’ command and pressing ctrl+c.”…””}”(hj6hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KPhj}hžhubh¸)”}”(hŒMCheck that mmiotrace did not lose events due to a buffer filling up. Either::”h]”hŒLCheck that mmiotrace did not lose events due to a buffer filling up. Either:”…””}”(hjDhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KShj}hžhubjd)”}”(hŒ$ grep -i lost mydump.txt”h]”hŒ$ grep -i lost mydump.txt”…””}”hjRsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h KUhj}hžhubh¸)”}”(hŒ;which tells you exactly how many events were lost, or use::”h]”hŒ:which tells you exactly how many events were lost, or use:”…””}”(hj`hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h KWhj}hžhubjd)”}”(hŒ$ dmesg”h]”hŒ$ dmesg”…””}”hjnsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h KYhj}hžhubh¸)”}”(hŒîto view your kernel log and look for "mmiotrace has lost events" warning. If events were lost, the trace is incomplete. You should enlarge the buffers and try again. Buffers are enlarged by first seeing how large the current buffers are::”h]”hŒñto view your kernel log and look for “mmiotrace has lost events†warning. If events were lost, the trace is incomplete. You should enlarge the buffers and try again. Buffers are enlarged by first seeing how large the current buffers are:”…””}”(hj|hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K[hj}hžhubjd)”}”(hŒ($ cat /sys/kernel/tracing/buffer_size_kb”h]”hŒ($ cat /sys/kernel/tracing/buffer_size_kb”…””}”hjŠsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h K`hj}hžhubh¸)”}”(hŒVgives you a number. Approximately double this number and write it back, for instance::”h]”hŒUgives you a number. Approximately double this number and write it back, for instance:”…””}”(hj˜hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kbhj}hžhubjd)”}”(hŒ2$ echo 128000 > /sys/kernel/tracing/buffer_size_kb”h]”hŒ2$ echo 128000 > /sys/kernel/tracing/buffer_size_kb”…””}”hj¦sbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h Kehj}hžhubh¸)”}”(hŒThen start again from the top.”h]”hŒThen start again from the top.”…””}”(hj´hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kghj}hžhubh¸)”}”(hŒ{If you are doing a trace for a driver project, e.g. Nouveau, you should also do the following before sending your results::”h]”hŒzIf you are doing a trace for a driver project, e.g. Nouveau, you should also do the following before sending your results:”…””}”(hjÂhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kihj}hžhubjd)”}”(hŒq$ lspci -vvv > lspci.txt $ dmesg > dmesg.txt $ tar zcf pciid-nick-mmiotrace.tar.gz mydump.txt lspci.txt dmesg.txt”h]”hŒq$ lspci -vvv > lspci.txt $ dmesg > dmesg.txt $ tar zcf pciid-nick-mmiotrace.tar.gz mydump.txt lspci.txt dmesg.txt”…””}”hjÐsbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h Klhj}hžhubh¸)”}”(hŒ¼and then send the .tar.gz file. The trace compresses considerably. Replace "pciid" and "nick" with the PCI ID or model name of your piece of hardware under investigation and your nickname.”h]”hŒÄand then send the .tar.gz file. The trace compresses considerably. Replace “pciid†and “nick†with the PCI ID or model name of your piece of hardware under investigation and your nickname.”…””}”(hjÞhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kphj}hžhubeh}”(h]”Œusage”ah ]”h"]”Œusage”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K0ubh¢)”}”(hhh]”(h§)”}”(hŒHow Mmiotrace Works”h]”hŒHow Mmiotrace Works”…””}”(hj÷hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hjôhžhhŸh¶h Kvubh¸)”}”(hXvAccess to hardware IO-memory is gained by mapping addresses from PCI bus by calling one of the ioremap_*() functions. Mmiotrace is hooked into the __ioremap() function and gets called whenever a mapping is created. Mapping is an event that is recorded into the trace log. Note that ISA range mappings are not caught, since the mapping always exists and is returned directly.”h]”hXvAccess to hardware IO-memory is gained by mapping addresses from PCI bus by calling one of the ioremap_*() functions. Mmiotrace is hooked into the __ioremap() function and gets called whenever a mapping is created. Mapping is an event that is recorded into the trace log. Note that ISA range mappings are not caught, since the mapping always exists and is returned directly.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kxhjôhžhubh¸)”}”(hXNMMIO accesses are recorded via page faults. Just before __ioremap() returns, the mapped pages are marked as not present. Any access to the pages causes a fault. The page fault handler calls mmiotrace to handle the fault. Mmiotrace marks the page present, sets TF flag to achieve single stepping and exits the fault handler. The instruction that faulted is executed and debug trap is entered. Here mmiotrace again marks the page as not present. The instruction is decoded to get the type of operation (read/write), data width and the value read or written. These are stored to the trace log.”h]”hXNMMIO accesses are recorded via page faults. Just before __ioremap() returns, the mapped pages are marked as not present. Any access to the pages causes a fault. The page fault handler calls mmiotrace to handle the fault. Mmiotrace marks the page present, sets TF flag to achieve single stepping and exits the fault handler. The instruction that faulted is executed and debug trap is entered. Here mmiotrace again marks the page as not present. The instruction is decoded to get the type of operation (read/write), data width and the value read or written. These are stored to the trace log.”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K~hjôhžhubh¸)”}”(hŒûSetting the page present in the page fault handler has a race condition on SMP machines. During the single stepping other CPUs may run freely on that page and events can be missed without a notice. Re-enabling other CPUs during tracing is discouraged.”h]”hŒûSetting the page present in the page fault handler has a race condition on SMP machines. During the single stepping other CPUs may run freely on that page and events can be missed without a notice. Re-enabling other CPUs during tracing is discouraged.”…””}”(hj!hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K‡hjôhžhubeh}”(h]”Œhow-mmiotrace-works”ah ]”h"]”Œhow mmiotrace works”ah$]”h&]”uh1h¡hh£hžhhŸh¶h Kvubh¢)”}”(hhh]”(h§)”}”(hŒTrace Log Format”h]”hŒTrace Log Format”…””}”(hj:hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj7hžhhŸh¶h KŽubh¸)”}”(hX"The raw log is text and easily filtered with e.g. grep and awk. One record is one line in the log. A record starts with a keyword, followed by keyword- dependent arguments. Arguments are separated by a space, or continue until the end of line. The format for version 20070824 is as follows:”h]”hX"The raw log is text and easily filtered with e.g. grep and awk. One record is one line in the log. A record starts with a keyword, followed by keyword- dependent arguments. Arguments are separated by a space, or continue until the end of line. The format for version 20070824 is as follows:”…””}”(hjHhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Khj7hžhubeh}”(h]”Œtrace-log-format”ah ]”h"]”Œtrace log format”ah$]”h&]”uh1h¡hh£hžhhŸh¶h KŽubh¢)”}”(hhh]”(h§)”}”(hŒ1Explanation Keyword Space-separated arguments”h]”hŒ1Explanation Keyword Space-separated arguments”…””}”(hjahžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj^hžhhŸh¶h K–ubh¸)”}”(hX!read event R width, timestamp, map id, physical, value, PC, PID write event W width, timestamp, map id, physical, value, PC, PID ioremap event MAP timestamp, map id, physical, virtual, length, PC, PID iounmap event UNMAP timestamp, map id, PC, PID marker MARK timestamp, text version VERSION the string "20070824" info for reader LSPCI one line from lspci -v PCI address map PCIDEV space-separated /proc/bus/pci/devices data unk. opcode UNKNOWN timestamp, map id, physical, data, PC, PID”h]”hX%read event R width, timestamp, map id, physical, value, PC, PID write event W width, timestamp, map id, physical, value, PC, PID ioremap event MAP timestamp, map id, physical, virtual, length, PC, PID iounmap event UNMAP timestamp, map id, PC, PID marker MARK timestamp, text version VERSION the string “20070824†info for reader LSPCI one line from lspci -v PCI address map PCIDEV space-separated /proc/bus/pci/devices data unk. opcode UNKNOWN timestamp, map id, physical, data, PC, PID”…””}”(hjohžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K˜hj^hžhubh¸)”}”(hX¶Timestamp is in seconds with decimals. Physical is a PCI bus address, virtual is a kernel virtual address. Width is the data width in bytes and value is the data value. Map id is an arbitrary id number identifying the mapping that was used in an operation. PC is the program counter and PID is process id. PC is zero if it is not recorded. PID is always zero as tracing MMIO accesses originating in user space memory is not yet supported.”h]”hX¶Timestamp is in seconds with decimals. Physical is a PCI bus address, virtual is a kernel virtual address. Width is the data width in bytes and value is the data value. Map id is an arbitrary id number identifying the mapping that was used in an operation. PC is the program counter and PID is process id. PC is zero if it is not recorded. PID is always zero as tracing MMIO accesses originating in user space memory is not yet supported.”…””}”(hj}hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K¢hj^hžhubh¸)”}”(hŒŠFor instance, the following awk filter will pass all 32-bit writes that target physical addresses in the range [0xfb73ce40, 0xfb800000] ::”h]”hŒ‡For instance, the following awk filter will pass all 32-bit writes that target physical addresses in the range [0xfb73ce40, 0xfb800000]”…””}”(hj‹hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K©hj^hžhubjd)”}”(hŒV$ awk '/W 4 / { adr=strtonum($5); if (adr >= 0xfb73ce40 && adr < 0xfb800000) print; }'”h]”hŒV$ awk '/W 4 / { adr=strtonum($5); if (adr >= 0xfb73ce40 && adr < 0xfb800000) print; }'”…””}”hj™sbah}”(h]”h ]”h"]”h$]”h&]”jsjtuh1jchŸh¶h K­hj^hžhubeh}”(h]”Œ-explanation-keyword-space-separated-arguments”ah ]”h"]”Œ-explanation keyword space-separated arguments”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K–ubh¢)”}”(hhh]”(h§)”}”(hŒTools for Developers”h]”hŒTools for Developers”…””}”(hj²hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¦hj¯hžhhŸh¶h K²ubhŒdefinition_list”“”)”}”(hhh]”hŒdefinition_list_item”“”)”}”(hŒ±The user space tools include utilities for: - replacing numeric addresses and values with hardware register names - replaying MMIO logs, i.e., re-executing the recorded writes ”h]”(hŒterm”“”)”}”(hŒ+The user space tools include utilities for:”h]”hŒ+The user space tools include utilities for:”…””}”(hjÍhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jËhŸh¶h K·hjÇubhŒ definition”“”)”}”(hhh]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒCreplacing numeric addresses and values with hardware register names”h]”h¸)”}”(hjéh]”hŒCreplacing numeric addresses and values with hardware register names”…””}”(hjëhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h Kµhjçubah}”(h]”h ]”h"]”h$]”h&]”uh1jåhjâubjæ)”}”(hŒ=replaying MMIO logs, i.e., re-executing the recorded writes ”h]”h¸)”}”(hŒ;replaying MMIO logs, i.e., re-executing the recorded writes”h]”hŒ;replaying MMIO logs, i.e., re-executing the recorded writes”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h·hŸh¶h K¶hjþubah}”(h]”h ]”h"]”h$]”h&]”uh1jåhjâubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1jàhŸh¶h KµhjÝubah}”(h]”h ]”h"]”h$]”h&]”uh1jÛhjÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÅhŸh¶h K·hjÂubah}”(h]”h ]”h"]”h$]”h&]”uh1jÀhj¯hžhhŸNh Nubeh}”(h]”Œtools-for-developers”ah ]”h"]”Œtools for developers”ah$]”h&]”uh1h¡hh£hžhhŸh¶h K²ubeh}”(h]”Œ#in-kernel-memory-mapped-i-o-tracing”ah ]”h"]”Œ#in-kernel memory-mapped i/o tracing”ah$]”h&]”uh1h¡hhhžhhŸh¶h Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”h¶uh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(h¦NŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jcŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”h¶Œ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”Œnameids”}”(j=j:jOjLjzjwjñjîj4j1j[jXj¬j©j5j2uŒ nametypes”}”(j=‰jO‰jz‰jñ‰j4‰j[‰j¬‰j5‰uh}”(j:h£jLj+jwjRjîj}j1jôjXj7j©j^j2j¯uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.