From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 30 14:04:25 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 658A1130 for ; Wed, 30 Jul 2014 14:04:25 +0000 (UTC) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 398132268 for ; Wed, 30 Jul 2014 14:04:25 +0000 (UTC) Received: from Julian-MBP3.local (ppp121-45-236-203.lns20.per1.internode.on.net [121.45.236.203]) (authenticated bits=0) by vps1.elischer.org (8.14.9/8.14.9) with ESMTP id s6UE4Ju5022495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 30 Jul 2014 07:04:22 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <53D8FB5D.2060509@freebsd.org> Date: Wed, 30 Jul 2014 22:04:13 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: suresh gumpula , freebsd-hackers@freebsd.org Subject: Re: Allocation/free history References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jul 2014 14:04:25 -0000 On 7/29/14, 1:40 AM, suresh gumpula wrote: > Hi, > Knowing the PC of an allocation is very usefull in debugging. Having the > PC hash table and storing the pc hash either with an object itself( at the > end) or allocate an exra structure to hold the > hash index help us find out who/where an object was allocated. We > already have something like this in our own operating system and has been a > useful thing in debugging. what OS is that? I assume you are talking about in the kernel?