From owner-freebsd-current@freebsd.org Fri Jan 17 18:12:47 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 286211F6261; Fri, 17 Jan 2020 18:12:47 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47zq0t15Gcz3NWs; Fri, 17 Jan 2020 18:12:45 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f45.google.com with SMTP id h8so27018979iob.2; Fri, 17 Jan 2020 10:12:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jOb55aCi+kIXoDV3l08VsehWpR/AV9Nh7IGvefuMn3A=; b=mlpLQ06DATzBeT40wz4vgytcFhRQV12LY+uBxYlBJNJn88oIjzhL4h3PS/8AyPW9JC jiLMszDFyD6uyyyA9nNjdy/psim3oqiSPFiNB/LhoNFSAGCiBkY9yEIrSoxtp/TH5cjY ulPLZ4aByTqSNLASSUZlUvqd2zHLAQSne4aJKH/OhH6/K53XPErbZOqPefkXpgPaiadA 4llg9WH/0QGHHXPx9PhQXjBH1BaQ2cJtPXgH0+h4kr6+nGG9fol9V+LQleGdv34q9+4E Yqn0yh2vIEHAIDPYamjPZafyRBdvWOuwd4GjqcBxa6D0TxK51dLzHLrCOrRvihJvDABT I+dA== X-Gm-Message-State: APjAAAXumaZ0CvcHbsq4KqX8yJNb+QA5CvZ2EQrq4d4NiO2UC6NQeSoI 6LiWUFm9ekvXyeF0VMIqqQqXUcQMX412tEg1HqZ/sg== X-Google-Smtp-Source: APXvYqwcS5AtrMGURza8wSPyMj6QmGPlUrRqBlD3FiOBLVgoHAub0Nv+LTE3SllOQGwnn05+c4YXWD5ARHEWSTIMUHE= X-Received: by 2002:a05:6638:41d:: with SMTP id q29mr34463369jap.128.1579284764964; Fri, 17 Jan 2020 10:12:44 -0800 (PST) MIME-Version: 1.0 References: <20200117171950.GA79297@troutmask.apl.washington.edu> In-Reply-To: <20200117171950.GA79297@troutmask.apl.washington.edu> From: Ed Maste Date: Fri, 17 Jan 2020 13:12:32 -0500 Message-ID: Subject: Re: Turn off PROFILE option and remove WITH_PROFILE after FreeBSD 13? To: Steve Kargl Cc: FreeBSD Current , FreeBSD Hackers Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 47zq0t15Gcz3NWs X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.45 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.88 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; IP_SCORE(-1.88)[ip: (-4.45), ipnet: 209.85.128.0/17(-3.07), asn: 15169(-1.83), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[45.166.85.209.list.dnswl.org : 127.0.5.0]; SUBJECT_ENDS_QUESTION(1.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[45.166.85.209.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jan 2020 18:12:47 -0000 On Fri, 17 Jan 2020 at 12:19, Steve Kargl wrote: > > Why? Because adding -pg to the gfortran command line is sufficient > to getting profiling information for long running numerically > intensive codes. 'gfortran -pg', of course, loosk for libc_p.a > and libm_p.a. Have you tried sampling-based profiling (i.e., hwpmc)? I'm curious if it provides equal utility for you, or if there's some shortcoming.