From owner-freebsd-dtrace@freebsd.org Mon Feb 29 21:45:06 2016 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EA0ECAB8904 for ; Mon, 29 Feb 2016 21:45:06 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8DE181DC3 for ; Mon, 29 Feb 2016 21:45:06 +0000 (UTC) (envelope-from killing@multiplay.co.uk) Received: by mail-wm0-x22d.google.com with SMTP id l68so8174454wml.1 for ; Mon, 29 Feb 2016 13:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=multiplay-co-uk.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=4DZZaNv7vhUdSK5nzft37TNYqsFHpUGI0WhHjYOL/U4=; b=MsjXIzAlvtv6BQrcxZxHz61WHlqKegsiOi5T3InJqhMgJjLnhVmCsFI6j1OOq8VCwS rvaUmnpV6g33mNyFdAK0I0mWCmBPJAiK5EL6/z5bHdh/VI+vraAO0XNMSg6jhCwRXLF8 Ltac2WgWxvw7O+pWShJNPxut1IQxc1ZQXm+kREqmDHbTSTSfRR7W5l92YsMLslhp5zGQ 27ObDR4FUo7N2/u0fDrAxZwO2WFVl2/6oqB6rHaRpZf7F/O7Nvs8OFcn5aNtTY4tGYyC E/p+QgU3ptxtDQTCLNUKzjrHhGyYhXulHnplqNaN7EuJneC+df1bc1BiOM0UOJfOlfht 1JJg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=4DZZaNv7vhUdSK5nzft37TNYqsFHpUGI0WhHjYOL/U4=; b=XzEh5nMKd988wegS+5KF2Bh6EmpBm/uKK6quXy8wMlVzvjs61l0hKLdoVZYqalmDG1 D3eK5gceiKpOwHLm47Bc80jyXIXut9oeB8oBMlsocnErKFU3wYos69dDMzV3W+tUVBPK 12jawyOrAK8o6PvgLWeUb69eOX/ANKjXZ+TrMfv9TtdySUbqyS/7twvOM3n/5gu109Qv T1vn5/ZVS1n6hoN3BKTm2AtHzbMbelOJf66rtBpJQGL6QR260SwtTrtniqrK61igCEo6 +vfRxkoh3OqeRYqwrrRCFkq09DkJNKrH+RK7N24shWg4GhLjBDXytP5azRGv8FyEExTS QvhQ== X-Gm-Message-State: AD7BkJKErmgiCmLv6g3vrA5qbLLmy2VaijCAIAdxlUW1a/CIU9HWyPujYP58gc3kHddtpoMj X-Received: by 10.194.77.15 with SMTP id o15mr19476181wjw.41.1456782304190; Mon, 29 Feb 2016 13:45:04 -0800 (PST) Received: from [10.10.1.58] (liv3d.labs.multiplay.co.uk. [82.69.141.171]) by smtp.gmail.com with ESMTPSA id et11sm27746276wjc.30.2016.02.29.13.45.03 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 29 Feb 2016 13:45:03 -0800 (PST) Subject: Re: Functions not getting picked up by dtrace To: freebsd-dtrace@freebsd.org References: <20160229213933.GE82027@strugglingcoder.info> From: Steven Hartland Message-ID: <56D4BBEC.6070502@multiplay.co.uk> Date: Mon, 29 Feb 2016 21:45:16 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160229213933.GE82027@strugglingcoder.info> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Feb 2016 21:45:07 -0000 Yes it is, __noinline is your friend, but it obviously has the associated penalty. On 29/02/2016 21:39, hiren panchasara wrote: > I've seen this earlier with others too but this one is the latest > confusing me: em_xmit() in $src/dev/e1000/if_em.c > > Other functions with similar signature are listed in 'dtrace -l'. > > Is is because of some optimization? How do I undo it for testing > purposes? > > Cheers, > Hiren