From owner-freebsd-hackers@FreeBSD.ORG Sun May 30 19:10:47 2010 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 F340C106566C for ; Sun, 30 May 2010 19:10:46 +0000 (UTC) (envelope-from shrikanth07@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A614E8FC12 for ; Sun, 30 May 2010 19:10:46 +0000 (UTC) Received: by vws10 with SMTP id 10so286382vws.13 for ; Sun, 30 May 2010 12:10:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=sTAqIJmgpFWESZO0ALlyWvaB7mSfZSCbiUN2L1ZL97U=; b=WTKgNrqxev0EvWnzfzdCSQKn6C3KBv/5UGYsbmZScYN+ruuXVUrMp6qc4PRCp/qQg4 MbT7HPWUzPXgHqEj9jAAzgtbw2LsQ3J62lxScAKZ5FU1+8IXRVfMF0bIWQCYrJj3w2TD ttuISba8NZq477oLxbDF3FHQn/YIUA+ZM8EjQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=dlZl52zDC4ZOagbGpa0bbJ+/3yxwRf6oIIi0Sq6xwLR9I5zX9+unZKHjv9YaPx3yix N7juRVLXabtVb52c6hosvN3hgJYBRT2SGLUbK1kQlwkMtTxKcuM6B/gfDfLvzLTZUBmv tZ9zLhA4kTfVOxzz+OWp0+9/u2EDtCVeH30ak= MIME-Version: 1.0 Received: by 10.224.61.148 with SMTP id t20mr1232266qah.249.1275246645801; Sun, 30 May 2010 12:10:45 -0700 (PDT) Received: by 10.229.88.140 with HTTP; Sun, 30 May 2010 12:10:45 -0700 (PDT) Date: Mon, 31 May 2010 00:40:45 +0530 Message-ID: From: Shrikanth Kamath To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: DTrace and CTF data 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: Sun, 30 May 2010 19:10:47 -0000 I have a query about the FBT provider in DTrace, does FBT provider not need the CTF info for the /kernel binary... I have this observation, when I disassemble say a 'kernel_funtion' , I see the function is not instrumented... (kgdb) disassemble kernel_function Dump of assembler code for function kernel_function: 0xc04aa05d : push %ebp 0xc04aa05e : mov %esp,%ebp 0xc04aa060 : sub $0x2c,%esp Now after I did a 'fbt::kernel_function:entry', if I disassemble the 'kernel_function'... (kgdb) disassemble kernel_function Dump of assembler code for function kernel_function: 0xc04aa05d : lock mov %esp,%ebp <== FBT instrumentation 0xc04aa060 : sub $0x2c,%esp If I do a 'objdump' on the kernel.debug binary I do not see any CTF sections showing up? -- Shrikanth R K