]> sourceware.org Git - systemtap.git/commitdiff
Allow scheduler.cpu_on probe point to be an inline function
authorWilliam Cohen <wcohen@redhat.com>
Thu, 8 Jul 2010 14:26:18 +0000 (10:26 -0400)
committerWilliam Cohen <wcohen@redhat.com>
Thu, 8 Jul 2010 14:26:18 +0000 (10:26 -0400)
This fix allow the the graphs.stp and chng_cpu.stp examples to run on RHEL-5
kernels, which inline the finish_task_switch() function.

tapset/scheduler.stp

index f5a55dbc00b40f4fd0c627cb87d937abb8f692b5..cf664b0ab86c3e350048a05a9ee052b26e59e05c 100644 (file)
@@ -57,7 +57,7 @@ probe scheduler.cpu_off =
  *  task_prev - the process that was previously running on this cpu.
  *  idle - boolean indicating whether current is the idle process
  */
-probe scheduler.cpu_on = kernel.function("finish_task_switch").call ?
+probe scheduler.cpu_on = kernel.function("finish_task_switch") ?
 {
     name = "cpu_on"
     task_prev = $prev
This page took 0.027903 seconds and 5 git commands to generate.