From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3352 invoked by alias); 15 May 2007 21:52:03 -0000 Received: (qmail 3304 invoked by uid 48); 15 May 2007 21:51:51 -0000 Date: Tue, 15 May 2007 21:52:00 -0000 Message-ID: <20070515215151.3303.qmail@sourceware.org> From: "wcohen at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20070515224830.4510.wcohen@redhat.com> References: <20070515224830.4510.wcohen@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug tapsets/4510] probe scheduler.ctxswitch looks for wrong arg ($new) on 2.6.9-55.ELsmp x86_64 X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00293.txt.bz2 ------- Additional Comments From wcohen at redhat dot com 2007-05-15 22:51 ------- The 2.6.9-55.ELxmp x86_64 has the following function in kernel/sched.c static inline task_t * context_switch(runqueue_t *rq, task_t *prev, task_t *next) { ... However it the probe scheduler.ctxswitch is looking for $new rather than $next. The following example illustrates the problem on the machine: probe scheduler.ctxswitch { printf("next_pid = %d\n", next_pid) } $ ../../install/bin/stap -v /tmp/schedx.stpPass 1: parsed user script and 54 library script(s) in 750usr/10sys/767real ms. semantic error: unable to find local 'new' near pc 0xffffffff8030ba14 (alternatives: rq prev next): identifier '$new' at /home/wcohen/stap_snap_200705142049/install/share/systemtap/tapset/scheduler.stp:138:21 Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in 220usr/60sys/275real ms. Pass 2: analysis failed. Try again with more '-v' (verbose) options. -- What |Removed |Added ---------------------------------------------------------------------------- Summary|probe scheduler.ctxswitch |probe scheduler.ctxswitch |looks for wrong arg on |looks for wrong arg ($new) |2.6.9-55.ELsmp x86_64 |on 2.6.9-55.ELsmp x86_64 http://sourceware.org/bugzilla/show_bug.cgi?id=4510 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.