From 7a18a12684f498929b5938ceb18f66b18d2e1fe3 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 29 Sep 2009 14:09:32 -0400 Subject: tapset docs cleanup Several problems: some invalid etc. directives in the tapset embedded docs; some analysis about the non-generation of the pdf; some cleanup of the generated man pages. * configure.ac (BUILD_PDFREFDOCS): Correct condition typo, but still leave disabled. * doc/SystemTap_Tapset_Reference/Makefile.am (XMLTOMANPARMS): Add, to disable noise "AUTHORS" / "COPYRIGHT" sections. * tapset/*.stp: Removed several docbook-y markup that is not valid in kerneldoc. --- tapset/memory.stp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'tapset/memory.stp') diff --git a/tapset/memory.stp b/tapset/memory.stp index a855fbcb..c6d3ec8f 100644 --- a/tapset/memory.stp +++ b/tapset/memory.stp @@ -57,8 +57,8 @@ function vm_fault_contains:long (value:long, test:long) /** * probe vm.pagefault - Records that a page fault occurred. * @address: The address of the faulting memory access; i.e. the address that caused the page fault. - * @write_access: Indicates whether this was a write or read access; 1 indicates a write, - * while 0 indicates a read. + * @write_access: Indicates whether this was a write or read access; 1 indicates a write, + * while 0 indicates a read. * * Context: The process which triggered the fault */ @@ -76,9 +76,9 @@ probe vm.pagefault = kernel.function("__handle_mm_fault@mm/memory.c") ?, /** * probe vm.pagefault.return - Indicates what type of fault occurred. * @fault_type: Returns either - * 0 (VM_FAULT_OOM) for out of memory faults, - * 2 (VM_FAULT_MINOR) for minor faults, 3 (VM_FAULT_MAJOR) for - * major faults, or 1 (VM_FAULT_SIGBUS) if the fault was neither OOM, minor fault, + * 0 (VM_FAULT_OOM) for out of memory faults, + * 2 (VM_FAULT_MINOR) for minor faults, 3 (VM_FAULT_MAJOR) for + * major faults, or 1 (VM_FAULT_SIGBUS) if the fault was neither OOM, minor fault, * nor major fault. */ probe vm.pagefault.return = kernel.function("__handle_mm_fault@mm/memory.c").return ?, @@ -120,7 +120,7 @@ function _IS_ZERO_PAGE:long(from:long, vaddr:long) %{ /* pure */ * * Fires when a process attempts to write to a shared page. * If a copy is necessary, this will be followed by a - * vm.write_shared_copy. + * vm.write_shared_copy. */ probe vm.write_shared = kernel.function("do_wp_page") { address = $address @@ -136,7 +136,7 @@ probe vm.write_shared = kernel.function("do_wp_page") { * The process attempting the write. * * Fires when a write to a shared page requires a page copy. This is - * always preceded by a vm.shared_write. + * always preceded by a vm.shared_write. */ probe vm.write_shared_copy = kernel.function("copy_cow_page")? { address = $address @@ -145,12 +145,12 @@ probe vm.write_shared_copy = kernel.function("copy_cow_page")? { /** - * probe vm.mmap - Fires when an mmap is requested. + * probe vm.mmap - Fires when an mmap is requested. * @address: The requested address * @length: The length of the memory segment * * Context: - * The process calling mmap. + * The process calling mmap. */ probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? { address = $addr @@ -159,12 +159,12 @@ probe vm.mmap = kernel.function("do_mmap"), kernel.function("do_mmap2")? { /** - * probe vm.munmap - Fires when an munmap is requested. + * probe vm.munmap - Fires when an munmap is requested. * @address: The requested address * @length: The length of the memory segment * * Context: - * The process calling munmap. + * The process calling munmap. */ probe vm.munmap = kernel.function("do_munmap") { address = $start @@ -172,12 +172,12 @@ probe vm.munmap = kernel.function("do_munmap") { } /** - * probe vm.brk - Fires when a brk is requested (i.e. the heap will be resized). + * probe vm.brk - Fires when a brk is requested (i.e. the heap will be resized). * @address: The requested address * @length: The length of the memory segment * * Context: - * The process calling brk. + * The process calling brk. */ probe vm.brk = kernel.function("do_brk") { address = $addr @@ -190,7 +190,7 @@ probe vm.brk = kernel.function("do_brk") { * * Context: * The process that tried to consume excessive memory, and thus - * triggered the OOM. (is this correct?) + * triggered the OOM. */ probe vm.oom_kill = kernel.function("__oom_kill_task") { task = $p -- cgit