]> sourceware.org Git - systemtap.git/commitdiff
2007-08-15 Frank Ch. Eigler <fche@elastic.org>
authorfche <fche>
Wed, 15 Aug 2007 14:21:55 +0000 (14:21 +0000)
committerfche <fche>
Wed, 15 Aug 2007 14:21:55 +0000 (14:21 +0000)
* context.stp (cpuid, cpu): Use smp_processor_id().

tapset/ChangeLog
tapset/context.stp

index 5d13eec6dadeec169f63a9fb90a620f2fe750729..1730d04be977c1504a541c214d0fd7e8904a8295 100644 (file)
@@ -1,7 +1,11 @@
+2007-08-15  Frank Ch. Eigler  <fche@elastic.org>
+
+       * context.stp (cpuid, cpu): Use smp_processor_id().
 
 2007-08-12  Wenji Huang  <wenji.huang@oracle.com>
 
-       * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str) : Add SCHED_BATCH to policy entries, NFSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
+       * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to policy entries,
+       NFSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
 
 2007-08-10  Josh Stone  <joshua.i.stone@intel.com>
 
index 39f1b64030b483378e505045ae9842d6479aa741..622fa50570ed8420eff1db4a5ba12ef4cf624c56 100644 (file)
@@ -65,11 +65,11 @@ function euid:long () %{ /* pure */
 %}
 
 function cpuid:long () %{ /* pure */
-       THIS->__retvalue = current->thread_info->cpu;
+       THIS->__retvalue = smp_processor_id();
 %}
 
 function cpu:long () %{ /* pure */
-       THIS->__retvalue = current->thread_info->cpu; /* smp_processor_id()? */
+       THIS->__retvalue = smp_processor_id();
 %}
 
 function print_stack(stk:string) %{
This page took 0.029243 seconds and 5 git commands to generate.