From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 21:35:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56FD5106566B for ; Sat, 3 Mar 2012 21:35:02 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 203388FC13 for ; Sat, 3 Mar 2012 21:35:02 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id q23LZ10D012609; Sat, 3 Mar 2012 13:35:01 -0800 (PST) (envelope-from yuri@rawbw.com) Message-ID: <4F528E83.8030103@rawbw.com> Date: Sat, 03 Mar 2012 13:34:59 -0800 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120218 Thunderbird/10.0.2 MIME-Version: 1.0 To: Gavin Mu References: <4F516AA7.8060606@rawbw.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Can I take a snapshot of the current stack for every thread in some process from outside? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 21:35:02 -0000 On 03/02/2012 17:07, Gavin Mu wrote: > ports/sysutils/pstack can do this if you use x86 machine. After fixing obvious compile issues on amd64, symbol "_thread_list" can't be found. Looks like hash algorithm is correct and finds other symbols, just not "_thread_list". I don't know where to go from here. Yuri