From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19712 invoked by alias); 10 Apr 2009 15:11:50 -0000 Received: (qmail 19696 invoked by uid 22791); 10 Apr 2009 15:11:47 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from elasmtp-scoter.atl.sa.earthlink.net (HELO elasmtp-scoter.atl.sa.earthlink.net) (209.86.89.67) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 10 Apr 2009 15:11:43 +0000 Received: from [71.163.192.175] (helo=labstation1) by elasmtp-scoter.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1LsIOL-0003nW-DA for systemtap@sources.redhat.com; Fri, 10 Apr 2009 11:11:41 -0400 Reply-To: From: "Joonbum Byun" To: Subject: Probing CPU attached kernel variable Date: Fri, 10 Apr 2009 15:11:00 -0000 Message-ID: <003d01c9b9ee$4fee44a0$a484fea9@labstation1> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-ELNK-Trace: a867516ab0d860a8d780f4a490ca6956abb457f1b4332f52b562ae3f36214d2047912fdce2562fff350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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: 2009-q2/txt/msg00202.txt.bz2 Hi; I'm trying to probe CPU attached kernel variable with Systemtap. To be specific, I'd like to read variable __get_cpu_var(netdev_rx_stat).total++ within function netif_rx () at kernel file ./net/core/dev.c. Any sample scripts or tips for the goal would be highly appreciated. Joon