summaryrefslogtreecommitdiffstats
path: root/tapset/memory.stp
Commit message (Collapse)AuthorAgeFilesLines
* tapset: port addr_to_node() to rhel4Frank Ch. Eigler2010-03-191-1/+5
|
* Fixup some memory tapset vm kernel function probe fallbacks.Mark Wielaard2009-12-291-16/+43
| | | | | | | | | | | | | | | | | | | | | | | | | Older kernels don't have all GFP constants defined, and the fallback kernel function probe fallbacks don't have the same dwarf variable names as the kernel trace point probes. So replace them with variables that are available. bytes_alloc was sometimes a long and sometimes a string, this caused scripts to fail depending on which alternative was chosen for a particular kernel. So make it a long always. This isn't a full solution since kmalloc is always inlined which makes the kernel.function("kmalloc").return probe fail. * tapset/memory.stp: Define __GFP_THISNODE, __GFP_RECLAIMABLE, GFP_TEMPORARY, GFP_HIGHUSER_MOVABLE and GFP_THISNODE when not yet defined. (__vm.kmalloc.kp): Use $flags, not $gfp_flags. Set bytes_alloc equal to bytes_req. (__vm.kmem_cache_alloc.kp): Likewise. And use $cachep->buffer_size for bytes_req. (__vm.kmalloc_node.kp): Likewise. (__vm.kmem_cache_alloc_node.kp): Likewise. (__vm.kfree.kp): Use $ibjp for ptr, not $return. (__vm.kmem_cache_free.kp): Likewise. * testsuite/buildok/vm.tracepoints.stp: Move vm.kmalloc test to... * testsuite/buildok/vm.tracepoints.kmalloc.stp: ... here.
* Define __GFP_MOVABLE GFP_ZONEMASK __GFP_NOTRACK in memory.stp if not there.Mark Wielaard2009-12-281-0/+16
| | | | | Older kernels might not have these defines available, so define them if not yet there.
* Tracepoint based tapset for memory - changes to NEWS and tapset/memory.stp ↵Rajasekhar Duddu2009-12-221-0/+266
| | | | that got left out in earlier commit 0c487e433fd6343e49b1e9dbc6492f38cfe26143.
* tapset docs cleanupFrank Ch. Eigler2009-09-291-14/+14
| | | | | | | | | | | | | | Several problems: some invalid <command> 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.
* Update memory and ioscheduler tapset for 2.6.31Wenji Huang2009-06-291-0/+5
| | | | | * tapset/ioscheduler.stp (elv_next_request): Change to blk_peek_request. * tapset/memory.stp (vm.pagefault): Replace $write_access.
* minor editsddomingo2009-03-171-4/+4
|
* fixed format of non-grabbable comments (for Tapset Reference Guide), added ↵ddomingo2009-03-161-1/+4
| | | | tapsetdescription for man page generator (in development)
* Function to determine page fault type and have pfaults.stp exercise it.William Cohen2009-02-121-0/+43
|
* cleanup for documentationddomingo2009-02-031-28/+31
|
* minor correction to comment on probe vm.brkddomingo2009-02-021-3/+3
|
* Add context, timestamp, memory, and networking tapsets.William Cohen2008-11-251-216/+51
|
* Add xml documentation for memory.stp.William Cohen2008-11-131-36/+179
|
* Add 'pure' to embedded-C functions that deserve itJosh Stone2008-06-131-2/+1
|
* 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-091-9/+9
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * memory.stp (addr_to_node): Fix the compilation error of function addr_to_node on IA64.
* 2007-08-17 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-171-1/+1
| | | | | | | * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
* Fixes for PR4836.mmason2007-07-251-6/+4
|
* * memory.stp: Update vm.pagefault.return comment.wcohen2007-04-251-0/+4
|
* * tapset/memory.stp: Add matching vm.pagefault.returnwcohen2007-04-241-0/+17
| | | | * testsuite/buildok/memory.stp: Test vm.pagefault.return.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.
* signal.stp, memory.stp:guanglei2006-11-071-2/+2
| | | | | make do_mmap2, copy_cow_page and signal.handle.return optional since they are obsolete or failed to probe on 2.6.18.1/ppc64
* 2006-08-09 Josh Stone <joshua.i.stone@intel.com>jistone2006-08-101-5/+120
| | | | | | | | | | | | * stapprobes.5.in, testsuite/buildok/memory.stp: move pagefault to vm.* namespace tapset/ * memory.stp: move pagefault to vm.* namespace, and add many other virtual-memory themed probes. tapset/LKET/ * pagefault.stp: move pagefault to vm.* namespace
* add addr_to_node() from Jose Santosguanglei2006-07-041-0/+16
|
* I break LKET into layered structure. The first layer is those generic tapsets.guanglei2006-05-181-0/+16
The second layer is tracing specific. I checked into CVS those generic tapsets at the first step.