This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/16991] infinite loop in task_dentry_path
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Wed, 28 May 2014 14:35:17 +0000
- Subject: [Bug tapsets/16991] infinite loop in task_dentry_path
- Auto-submitted: auto-generated
- References: <bug-16991-6586 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16991
--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Created attachment 7619
--> https://sourceware.org/bugzilla/attachment.cgi?id=7619&action=edit
potential patch
Here's a potential patch, which includes a test case. The good news about this
patch is that it seems to fix the problem. When task_dentry_path() now hits a
dentry from a pipe filesystem, it returns something like:
pipe:[105988]
The only problem that I know of with this patch is the requirement of the
'buffer' argument to the new __dentry_generate_dname() function. It is a bit
ugly, but the only other potential solution I can think of (embedding that
temporary buffer in the context structure) is even uglier.
--
You are receiving this mail because:
You are the assignee for the bug.