From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18980 invoked by alias); 21 Jan 2008 17:56:39 -0000 Received: (qmail 18646 invoked by uid 48); 21 Jan 2008 17:55:56 -0000 Date: Mon, 21 Jan 2008 17:56:00 -0000 Message-ID: <20080121175556.18645.qmail@sourceware.org> From: "hunt at redhat dot com" To: systemtap@sources.redhat.com In-Reply-To: <20071018140048.5194.hunt@redhat.com> References: <20071018140048.5194.hunt@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug runtime/5194] IO problem on begin/end probes 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: 2008-q1/txt/msg00117.txt.bz2 ------- Additional Comments From hunt at redhat dot com 2008-01-21 17:55 ------- (In reply to comment #5) > I'm not clear about whether there actually exists a bug described > in comment #0, in that we do not enable sleeping or preemption > during begin/end probes, so we can't switch CPUs. We don't? News to me. It's easy to test. >cat test.stp function in_interrupt:long () %{ /* pure */ THIS->__retvalue = in_interrupt(); %} function irqs_disabled:long () %{ /* pure */ THIS->__retvalue = irqs_disabled(); %} function preempt_count:long () %{ /* pure */ THIS->__retvalue = preempt_count(); %} function print_info () { printf("%s\n", pp()) printf("cpu: %d\n", cpu()) printf("in_interrupt:%d, irqs_disabled:%d, preempt_count:%d\n", in_interrupt(), irqs_disabled(), preempt_count()); print("------------------\n\n") } probe begin { print_info() } >stap test.stp begin cpu: 2 in_interrupt:0, irqs_disabled:0, preempt_count:0 -- http://sourceware.org/bugzilla/show_bug.cgi?id=5194 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.