From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28253 invoked by alias); 24 May 2007 14:13:54 -0000 Received: (qmail 28239 invoked by uid 22791); 24 May 2007 14:13:51 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,DK_POLICY_SIGNSOME,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 May 2007 14:13:40 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l4OEDZsB014033; Thu, 24 May 2007 10:13:36 -0400 Received: from pobox.hsv.redhat.com (pobox.hsv.redhat.com [172.16.16.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l4OEDZbB012453; Thu, 24 May 2007 10:13:35 -0400 Received: from [172.16.17.170] (dhcp-170.hsv.redhat.com [172.16.17.170]) by pobox.hsv.redhat.com (8.12.11.20060308/8.12.11) with ESMTP id l4OEDYQU007779; Thu, 24 May 2007 10:13:34 -0400 Message-ID: <46559D8E.4040404@redhat.com> Date: Thu, 24 May 2007 14:13:00 -0000 From: David Smith User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Mike Mason CC: Mathieu Desnoyers , Systemtap List Subject: Re: Linux kernel marker questions References: <46531C6E.3010502@redhat.com> <4654AED0.8080708@us.ibm.com> <46559163.7090905@redhat.com> <46559A2D.40904@us.ibm.com> In-Reply-To: <46559A2D.40904@us.ibm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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/msg00390.txt.bz2 Mike Mason wrote: > David Smith wrote: >> Mike Mason wrote: >>> Should this work yet? >> >> Yes it should work - depending on which version of Mathieu's patches >> you've got. I've bet we've got differing versions if you are getting >> the "bad __markers_string section" message. I've been using the >> version of Mathieu's patches that Andrew Morton has. I can send you a >> copy of the patches I've been using if you'd like. > > I'm using a version of the Andrew's patches, but perhaps not the > latest. Please send me what you're using. I'll send you the patches I've been using. > BTW, what data can be accessed in a SystemTap marker probe handler? Can > it access the data defined by the marker or any local or global variables? You'll only be able to access the data defined by the marker using "$argN" (where "N" is 1 through the number of arguments). -- David Smith dsmith@redhat.com Red Hat http://www.redhat.com 256.217.0141 (direct) 256.837.0057 (fax)