From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18495 invoked by alias); 19 Mar 2014 20:21:28 -0000 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 Received: (qmail 18107 invoked by uid 48); 19 Mar 2014 20:21:22 -0000 From: "aferrazz at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/16726] New: RFE: provide a way to retrieve tapset function types Date: Wed, 19 Mar 2014 20:21:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: aferrazz at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q1/txt/msg00310.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=16726 Bug ID: 16726 Summary: RFE: provide a way to retrieve tapset function types Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: tapsets Assignee: systemtap at sourceware dot org Reporter: aferrazz at redhat dot com Running 'stap -vp1' (verbose pass 1, with any provided script) outputs a dump of all tapset contents; however, tapset functions and their parameters are printed without their types. It is possible to infer function & parameter types with pass 2, but that only examines the functions which are called by a provided script. I acknowledge that inferring the types of all functions & parameters of all included tapsets may be processor-intensive, but it may be a useful optional feature to have available. For instance, SystemTap IDE for Eclipse (which I contribute to) features a visual list of all tapset functions & their parameters, with icons next to each entry to signify return & parameter types. At the moment, the only way to obtain the types is to directly examine each function's definition in its host tapset file (if it provides type information at all). In a case such as this, being able to dump all tapset contents with types inferred would be useful. -- You are receiving this mail because: You are the assignee for the bug.