From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3779 invoked by alias); 1 Apr 2006 01:39:15 -0000 Received: (qmail 3767 invoked by uid 22791); 1 Apr 2006 01:39:14 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from mga03.intel.com (HELO azsmga101-1.ch.intel.com) (143.182.124.21) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 01 Apr 2006 01:39:13 +0000 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by azsmga101-1.ch.intel.com with ESMTP; 31 Mar 2006 17:39:11 -0800 Received: from scsmsx331.sc.intel.com (HELO scsmsx331.amr.corp.intel.com) ([10.3.90.4]) by azsmga001.ch.intel.com with ESMTP; 31 Mar 2006 17:39:11 -0800 X-IronPort-AV: i="4.03,152,1141632000"; d="scan'208"; a="17664198:sNHT24096016" Received: from scsmsx403.amr.corp.intel.com ([10.3.90.18]) by scsmsx331.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 31 Mar 2006 17:39:11 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: Stress testing - all functions Date: Sat, 01 Apr 2006 01:39:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Stress testing - all functions Thread-Index: AcZVLRLPWg5vCevmSfmJa0lAJlv3Ww== From: "Stone, Joshua I" To: "SystemTap" X-OriginalArrivalTime: 01 Apr 2006 01:39:11.0472 (UTC) FILETIME=[13714F00:01C6552D] X-IsSubscribed: yes Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2006-q2/txt/msg00000.txt.bz2 I just added a new stress test that tries to run probes on all kernel functions that start with the same letter. The test script is in: tests/testsuite/systemtap.stress/all_kernel_functions.stp As you might expect this does cause problems, so what I checked into CVS is disabled with an 'if 0'. Just change it to 'if 1' if you want to try it. Here are my initial test results: a*: ERROR: probe 1 registration failed, rc=3D1, kernel.function("acpi_cpufreq_exit@arch/i386/kernel/cpu/cpufreq/acpi.c:5 27") b*: OK! c*: probe 1 registration failed, rc=3D1, kernel.function("centrino_exit@arch/i386/kernel/cpu/cpufreq/speedstep-ce ntrino.c:692") d*: system reboots - there was no OOPS or BUG or anything printed to the console. So d* was as far as I got - later I will try removing d to see what else fails. And of course, just because b* passed this test doesn't mean that all b* functions are necessarily safe. The two that failed in a* and c* are both functions that are decorated with __exit. Perhaps the translator needs to disallow __exit functions, just as it disallows __init? Josh