From owner-freebsd-arch@freebsd.org Fri Oct 20 11:27:56 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 BE739E2F993 for ; Fri, 20 Oct 2017 11:27:56 +0000 (UTC) (envelope-from bcketchum@gmail.com) Received: from mail-io0-x22e.google.com (mail-io0-x22e.google.com [IPv6:2607:f8b0:4001:c06::22e]) (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 8A8B272B6D for ; Fri, 20 Oct 2017 11:27:56 +0000 (UTC) (envelope-from bcketchum@gmail.com) Received: by mail-io0-x22e.google.com with SMTP id j17so12878531iod.5 for ; Fri, 20 Oct 2017 04:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=k9hgWvahrtIdZVvXd4RB/mJi6BiAzyjFhWoxBrL3V00=; b=aQJ1ovz40QqNhl/NzFxQdsgapO8zPZEQ0/kui4dVjIpeHkrw5zSkYbrbWs3fR+Lebe mTG/GYMlH77awru684x2tr20OKsW5Nkhtk4C5sUHL9F7e1bhQ4CwL1xfxd5AJGADMTFP LFsLtdaYHpc+2/yxh+XATWsl/wE9LuRVJl7K82AAx8Qu792MwzVOGm2pjjOi70q+KJDk nAvmeMboE9DWaEmO90O8gtf4aJZ+Tiy8dtYH/c2+Y2VY3kmVZdC0Iu386gbdoqSLOoxl xdRBfzQB+yjK57OKwePODhfoy2FaKvKaHMtV+wo8Q2UapH4IAKnqI3tDpBGBO191kZa7 q4AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=k9hgWvahrtIdZVvXd4RB/mJi6BiAzyjFhWoxBrL3V00=; b=gejY54Ldr6YwG/1NowHc6KSimmTIG7t32aGgmGldSzHa5LCm/61t+JmdFDWWCzKdnv w7yoNK2hL+yqwk4Firz3h77AU7wXT6FhibIHcAdWn0CvXpJEjxlfFcMi+hSjOgUiNmXM GvRVNVdLJ2TdMVfs/eyanbOHaCjn0P72SoM9F/UEfGIFspaKuFgQtQnn5RNexXuUJGLc 5Xol13LuF0mVArRQ7inWxfOssSSrukEaK1io2ho3r1Uz7Rw+f9OLab4bhFxwZQeDlEKV MTEWfRESuKqfPCYTl3w9MbtmGcUIaeHPxgcEs7IhXdZr1mbsKML/wPGyEwjv1M53x1zS zNeA== X-Gm-Message-State: AMCzsaU6WUXI6ysHBiex9GAUGfiX9nyydK1GDvMgI9tDQX+TzcgZxdcE 2N1pt8k0qSMRE+r1cY2xeYPFja9ZG5qK5J0yiKs= X-Google-Smtp-Source: ABhQp+Qch5Q3VJdZIt7KssCO0zhD6PMhXQiJq5m0Bxs7Cw5B7LQUqWoOS7Naa507G8jjYqaFYgwLcHV7A+otV0UZPRc= X-Received: by 10.107.25.13 with SMTP id 13mr5689128ioz.11.1508498875866; Fri, 20 Oct 2017 04:27:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.1.151 with HTTP; Fri, 20 Oct 2017 04:27:55 -0700 (PDT) From: Bret Ketchum Date: Fri, 20 Oct 2017 06:27:55 -0500 Message-ID: Subject: 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 11:27:56 -0000 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