From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13076 invoked by alias); 7 Dec 2006 01:47:16 -0000 Received: (qmail 13051 invoked by uid 48); 7 Dec 2006 01:47:05 -0000 Date: Thu, 07 Dec 2006 03:56:00 -0000 From: "mmlnx at us dot ibm dot com" To: systemtap@sources.redhat.com Message-ID: <20061207014705.3672.mmlnx@us.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/3672] New: Support formatted dump of kernel structures 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: 2006-q4/txt/msg00626.txt.bz2 Add a function or extend printf to dump a kernel structure in a human readable format, similar to what gdb can do. Does dwarf give us enough info to do this without requiring the script to specify the structure type? For example, something like this: print_struct($sock) where $sock is a pointer to a struct socket could output this: { state = 1, flags = 6, ops = 0x83337444, fasync_list = 0x84435355, file = 0x54338234, sk = 0x73322556, wait = { lock = 1, task_list = { next = 0x822334455, prev = 0x855443322 }, }, type = 0 } -- Summary: Support formatted dump of kernel structures Product: systemtap Version: unspecified Status: NEW Severity: enhancement Priority: P2 Component: translator AssignedTo: systemtap at sources dot redhat dot com ReportedBy: mmlnx at us dot ibm dot com http://sourceware.org/bugzilla/show_bug.cgi?id=3672 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.