From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28344 invoked by alias); 17 Nov 2009 22:22:15 -0000 Received: (qmail 28293 invoked by uid 48); 17 Nov 2009 22:22:00 -0000 Date: Tue, 17 Nov 2009 22:22:00 -0000 From: "mjw at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20091117222200.10975.mjw@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug tapsets/10975] New: cpuid() context tapset function unused and duplicate 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: 2009-q4/txt/msg00557.txt.bz2 tapset/context.stp has: // cpuid() is not documented function cpuid:long () %{ /* pure */ THIS->__retvalue = smp_processor_id(); %} Which is identical (except for not being unprivileged) to: /** * sfunction cpu - Returns the current cpu number. */ function cpu:long () %{ /* pure */ /* unprivileged */ THIS->__retvalue = smp_processor_id(); %} cpuid() is not used anywhere in the sources, documentation or examples. Should we just nuke it? Or do we want to keep it for compatibility reasons? -- Summary: cpuid() context tapset function unused and duplicate Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tapsets AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mjw at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=10975 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.