From nobody@FreeBSD.org  Fri Sep  3 23:30:03 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 04F5D1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Sep 2010 23:30:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id CE31D8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  3 Sep 2010 23:30:02 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o83NU2jA011196
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 3 Sep 2010 23:30:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o83NU2Wd011195;
	Fri, 3 Sep 2010 23:30:02 GMT
	(envelope-from nobody)
Message-Id: <201009032330.o83NU2Wd011195@www.freebsd.org>
Date: Fri, 3 Sep 2010 23:30:02 GMT
From: Yuri <yuri@tsoft.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: truss -f doesn't follow descendants of the linux process
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150262
>Category:       bin
>Synopsis:       [patch] truss(1) -f doesn't follow descendants of the linux process
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-emulation
>State:          analyzed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 03 23:40:02 UTC 2010
>Closed-Date:    
>Last-Modified:  Tue Feb 15 00:11:37 UTC 2011
>Originator:     Yuri
>Release:        8.1-STABLE amd64
>Organization:
n/a
>Environment:
>Description:
I tried this with skype and the resulting trace only shows the major process.
This makes it very difficult troubleshooting certain things with linux processes.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Alexander Best <arundel@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/150262: truss(1) -f doesn't follow descendants of the linux process
Date: Sun, 5 Sep 2010 22:31:01 +0000

 i'm not sure truss is supposed to work with linux binaries. you might want to
 consider using ktrace and linux_kdump.
 
 the point however is: should truss work with linux binaries or not? if it's not
 designed to do so it might be best to abort execution of truss of it has been
 invoked with a linux binary.
 
 opinions?
 
 cheers.
 alex
 
 -- 
 a13x

From: Mateusz Guzik <mjguzik@gmail.com>
To: bug-followup@FreeBSD.org, yuri@tsoft.com
Cc:  
Subject: Re: bin/150262: truss(1) -f doesn't follow descendants of the linux process
Date: Mon, 13 Sep 2010 18:15:52 +0200

 Does this patch fix your issue?
 
 http://student.agh.edu.pl/~mjguzik/truss-linux-forks.patch
 
 --
 Mateusz Guzik
State-Changed-From-To: open->analyzed 
State-Changed-By: arundel 
State-Changed-When: Wed Sep 15 10:26:01 UTC 2010 
State-Changed-Why:  
Problem has been identified and a patch was submitted. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150262 
Responsible-Changed-From-To: freebsd-bugs->freebsd-emulation 
Responsible-Changed-By: arundel 
Responsible-Changed-When: Tue Feb 15 00:10:50 UTC 2011 
Responsible-Changed-Why:  
Assign to people who might have an opinion about this PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150262 
>Unformatted:
