summaryrefslogtreecommitdiffstats
path: root/tapset/scheduler.stp
diff options
context:
space:
mode:
Diffstat (limited to 'tapset/scheduler.stp')
-rw-r--r--tapset/scheduler.stp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tapset/scheduler.stp b/tapset/scheduler.stp
index 08581332..442a8105 100644
--- a/tapset/scheduler.stp
+++ b/tapset/scheduler.stp
@@ -110,7 +110,11 @@ probe scheduler.balance = kernel.inline("idle_balance") {}
/* probe scheduler.ctxswitch
*
* Fires when there is a context switch
- *
+
+ * Currently systemTap can't access arguments of inline
+ * functions. So we choose to probe __switch_to instead
+ * of context_switch()
+
* Arguments:
* prev_pid: The pid of the process to be switched out
* next_pid: The pid of the process to be switched in