summaryrefslogtreecommitdiffstats
path: root/tapset/proc_mem.stp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed PR 11372 by removing (most) embedded-C from proc_mem.stp.David Smith2010-03-161-135/+150
| | | | | | | | | * tapset/proc_mem.stp: Tried to remove as much embedded-C as possible. * tapset/atomic.stp: New file. * testsuite/buildok/atomic.stp: New file. * testsuite/systemtap.base/atomic.exp: Ditto. * testsuite/systemtap.base/atomic_module.c: Ditto. * testsuite/systemtap.base/atomic_module.makefile: Ditto.
* Fix proc_mem.stp for RHEL5.David Smith2010-03-111-1/+1
| | | | | * tapset/proc_mem.stp: Move header file so that it will compile on RHEL5 systems.
* Update tapset proc_mem for 2.6.34Wenji Huang2010-03-111-0/+32
| | | | | * tapset/proc_mem.stp(_stp_get_mm_counter_file_rss, _stp_get_mm_counter_anon_rss): Use embedded function.
* Improved 'mm_struct' casting for RHEL5.David Smith2010-03-051-9/+9
| | | | | | | | * tapset/context.stp: Improved casting to 'mm_struct' on RHEL5 by changing the header file referenced from '<linux/mm_types.h>' to '<linux/sched.h>' (since mm_types.h doesn't exist on RHEL5). On newer kernels, sched.h includes mm_types.h. * tapset/proc_mem.stp: Ditto.
* Describe function args and clean up titles for proc_mem.stp and task_time.stpWilliam Cohen2010-03-031-16/+30
|
* Add documentation and tests for proc_mem_*_pid functions.Mark Wielaard2010-03-031-0/+42
|
* Add proc_mem_*_pid tapset function variants.Mark Wielaard2010-03-031-1/+106
| | | | | | * tapset/proc_mem.stp: Add proc_mem_size_pid, proc_mem_rss_pid, proc_mem_shr_pid, proc_mem_txt_pid, proc_mem_data_pid and proc_mem_string_pid functions to tapset.
* tapset/proc_mem.stp: Document function parameters.Mark Wielaard2009-10-091-0/+2
|
* Add proc_mem tapset, functions to query memory usage of the current process.Mark Wielaard2009-10-061-0/+194
* tapset/proc_mem.stp: New tapset. * testsuite/buildok/proc_mem.stp * doc/SystemTap_Tapset_Reference/tapsets.tmpl (memory_stp): Include tapset/proc_mem.stp.