From owner-freebsd-arch@freebsd.org Fri Oct 20 16:36:27 2017 Return-Path: Delivered-To: freebsd-arch@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 80959E3A4F1 for ; Fri, 20 Oct 2017 16:36:27 +0000 (UTC) (envelope-from bcketchum@gmail.com) Received: from mail-it0-x22c.google.com (mail-it0-x22c.google.com [IPv6:2607:f8b0:4001:c0b::22c]) (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 49CA482062 for ; Fri, 20 Oct 2017 16:36:27 +0000 (UTC) (envelope-from bcketchum@gmail.com) Received: by mail-it0-x22c.google.com with SMTP id l196so14065088itl.4 for ; Fri, 20 Oct 2017 09:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=dsHTGJB6rY5LqYGld/1lJ+Q43tNO02Fql8m/I845jtk=; b=tK5ygjgugR56luDy6yn3dgXMZsgURfI/8/pMrLFXJyjypI0OxZkQcK2K6dUtKgkI3R 08CER0F04YP9G8bha4w32t8eUr40pEKMC48fOljP2OLk95BGl4z/2yq+AZqYf0uumonz rvtG8KVZegu9sd+JbFpo7HcbxLrP0025eXin+aihtQBAVvoHDkrTJvKcfx8jv3JV1esI afwzzoZQhaRm0iMH+fbrKxpGdskj+XesFRn7oDOjTv3mYHK0F5k9rwdDwpt0MR3gnv6i admPH7vBJ+Wop991LEx264P9F/EUWrBeEfOlRdqKQvPE6jG3BCjo/b1GXx5h9Ah0G41j vwUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=dsHTGJB6rY5LqYGld/1lJ+Q43tNO02Fql8m/I845jtk=; b=OPR7z4HgwcD0cM8oYdI5LaB0LfDXZpXjjuU/0Z3ALXXx/RYrtVvd3buHDwlluosqi+ Wilfaic75cjA6/1ubG0d2MPw3UVZSUoJkjpWxhgHHt9N3cI6jr3eE60/z+Wb2eEYKe07 Dem5i+oEQOlXO7+2TNfNg6QrTykKGBCckljiXck/nPKXcZA04g1rwlTfElqhR0JnLEiP RxMLUVwI2f9b754bOy1ZO1wkf+pKcrE4noSONaZwR+NY4wkYZRfyyoEb4nZh9TFLwPr6 ciTF/tAPNC3gQErD5pwEgHZUnJ3+fi5DLCwmySVrJplRfzpmF4u09PSzlIaokjZMNtkT vvtw== X-Gm-Message-State: AMCzsaVd2K+eiWWJw2PHRqTHLNVId4t2wXsVMfXxRULAaQ+IKQAe9Mhb vIl9Fs0UUCfk7mSgr3OedIgQ/mfMOBhj3Iqipng= X-Google-Smtp-Source: ABhQp+RXtP3FXp1mFRp90mNFFUJgvuV5fcvIdOT9kwBc8LAP76e1gXuzrEfv2f7AKWN/FlQy/MVBykuY9FKcO1nJxUc= X-Received: by 10.36.170.65 with SMTP id y1mr3693381iti.13.1508517386564; Fri, 20 Oct 2017 09:36:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.1.151 with HTTP; Fri, 20 Oct 2017 09:36:26 -0700 (PDT) In-Reply-To: <20171020155004.GA54718@bsdpad.com> References: <20171020155004.GA54718@bsdpad.com> From: Bret Ketchum Date: Fri, 20 Oct 2017 11:36:26 -0500 Message-ID: Subject: Re: PEBS support in hwpmc To: freebsd-arch@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Oct 2017 16:36:27 -0000 Looks like PT would assist in instruction execution performance analysis. PEBS provide information related to uops flows in the OOO pipeline including cache operations, prefetch, etc. On Fri, Oct 20, 2017 at 10:50 AM, Ruslan Bukin wrote: > I have not seen that yet. We are working on Intel PT support currently. > But we plan to look at ARM v8.2 Statistical Profiling Extension technology too, which sounds similar to PEBS by Intel ? > > Ruslan > > On Fri, Oct 20, 2017 at 06:27:55AM -0500, Bret Ketchum wrote: >> All, >> >> I apologize if there is a better forum for this question. Is there >> any current effort to support Processor Event Based Sampling in hwpmc? >> Without this support (or a VTune subscription) understanding >> Front-End/Back-End bound applications running on Skylake/Kaby Lake >> processors will be difficult at best. I'm thinking to simply add a >> flag and either add a char to iap_event_descr or increase the size of >> iap_evcode to house the sub-event (EVTSEL). Decoding and reporting the >> captured PEBS records would need a bit more thought. >> >> Bret >> _______________________________________________ >> freebsd-arch@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arch >> To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"