summaryrefslogtreecommitdiffstats
path: root/tapset/scheduler.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR 11338 (partial): Used '@defined()' in tty, scheduler, and vfs tapsets.David Smith2010-03-081-5/+2
| | | | | | | | | | * tapset/tty.stp: Used '@defined()' to remove kernel version checks. * tapset/scheduler.stp: Ditto. * tapset/vfs.stp: Used '@defined()' to remove kernel version checks. Also made several probe points optional instead of using kernel version checks to know when to include them. * testsuite/buildok/vfs_testcase.stp: Removed stap '-u' (unoptimized mode) switch, since '@defined()' doesn't work in unoptimized mode.
* Make tapset and tests compatible with old kernelWenji Huang2009-12-021-1/+6
| | | | | | | | | | | | | * tapset/ioscheduler.stp : Make probe optional. * tapset/irq.stp : Ditto. * tapset/scheduler.stp : Ditto. * tapset/tcpmib.stp : Ditto. * tapset/linuxmib.stp : Switch variable by version. * tapset/tty.stp : Ditto. * testsuite/buildok/irq.stp : Make probe test optional. * testsuite/buildok/tty.stp : Ditto. * testsuite/systemtap.examples/network/netdev.stp : Ditto. * testsuite/buildok/tcpmib-all-probes.stp : Add embedded functions.
* Fix typo in scheduler tapsetWenji Huang2009-12-011-1/+1
| | | | | * tapset/scheduler.stp (__scheduler.kthread_stop.kp): Change priority to prio.
* Scheduler Tapset based on kernel tracepointsKiran Prakesh2009-10-021-51/+302
| | | | | | | | | This patch adds kernel tracepoints based probes to the scheduler tapset along with the testcase, scheduler-test-tracepoints.stp and an example script, sched_switch.stp. Signed-off-by: Kiran Prakash <kiran@linux.vnet.ibm.com> Signed-off-by: Josh Stone <jistone@redhat.com>
* Use the sched_switch tracepoint if available.William Cohen2009-09-141-3/+3
|
* Use || and && in preprocessor's conditions in tapsets.Przemyslaw Pawelczyk2009-08-281-13/+3
| | | | Signed-off-by: Josh Stone <jistone@redhat.com>
* PR4186 cont'd: option #2: standardize on kernel ARCH/SUBARCH throughoutFrank Ch. Eigler2009-08-251-1/+1
| | | | | | | | * main.cxx (main): Perform equivalent sed by hand on uname()->machine. * stap.1.in: Clarify -a ARCH slightly. * tapsets.cxx (validate_module_elf): Accept "arm*"for EM_ARM. * tapset/**, testsuite/**: Removed/collapsed "i386"/"i686" branches, renamed "ppc64"->"powerpc" and "s390x"->"s390".
* 2008-1-4 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-01-041-3/+13
| | | | | | PR5152 * scheduler.stp (scheduler.ctxswitch): Change probe point __switch_to to context_switch on ia64.
* 2007-08-24 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-241-3/+3
| | | | | * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional. (scheduler.migrate): Modify evaluating cpu_from with task_cpu.
* PR 4510wcohen2007-05-161-2/+2
| | | | * scheduler.stp: Correct function argument.
* 2007-04-23 Frank Ch. Eigler <fche@elastic.org>fche2007-04-231-3/+13
| | | | | * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes switch from __switch_to to context_switch on x86-64 in Ipswitch.
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-301-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* __is_idle should be pure.jistone2007-01-251-1/+1
|
* In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead ↵mmason2006-12-131-1/+1
| | | | of $prev_p->pid.
* scheduler.stp, vfs.stp: made idle_balance and buffer_migrate_page optinal.guanglei2006-11-291-1/+1
|
* tapset/scsi.stp:guanglei2006-10-161-5/+2
| | | | | | | check whether rq_disk is empty tapset/scheduler.stp revert changes
* scheduler.stp:guanglei2006-10-131-13/+16
| | | | skip __switch_to on x86_64
* src/tapset/LKET/*.stp:guanglei2006-05-251-0/+4
| | | | | | | | | | | | explicitly add type qualifier for different arch to make _stp_vsnprintf get the argument by va_arg correctly src/tapset/scheduler.stp: add prev_task and next_task variable src/stapprobes.5.in: add lket (5) in the "SEE ALSO"
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-181-1/+5
| | | | And some minor changes to current tapsets
* merge tskschedule.stp into scheduler.stpguanglei2006-05-181-0/+26
|
* 2006-05-17 Josh Stone <joshua.i.stone@intel.com>jistone2006-05-181-0/+105
* testsuite/buildok/sched_test.stp: test scheduler tapset * examples/small_demos/sched_snoop.stp: demo scheduler tapset * tapset/scheduler.stp: New scheduler tapset