From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f54.google.com (mail-wm0-f54.google.com [74.125.82.54]) by dpdk.org (Postfix) with ESMTP id B73261518 for ; Tue, 4 Oct 2016 10:42:55 +0200 (CEST) Received: by mail-wm0-f54.google.com with SMTP id b201so130062578wmb.0 for ; Tue, 04 Oct 2016 01:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=SYCqJo5n3iNSwAMD1wMNhGRBGCTHLBrROK8jnSGbXoI=; b=c3mYTpdWGNUPA6EzLeTk0EUtqE3AfEOCEojKmwNkT7RJOaoPvvjbbrgohStpG0KInK y0xJrEhbDv01Nl9j8TSkeqc0WnwLA+eFM5Oa6o3vErbWuEERBmBBkjR/NuIyoYRjj+cz YijG7nZxBleJfbAIbJIs3QJJ1hIvjlu42sk3dUS11fuE1NJ8zMTT3wsjHdWEO4TeEV+w PDMm7xrMD+ySrMdbHWrzmftFF0ESTgoqQ7ZpoJ9+/g4B1Zi7tr3zQibdR8bLUtuFo7lL rGLCKoPbArKUtKWOK9tjSVaXYx7ds2UZYleSgLSAEXNeGv9w6E42PcXomdwpYxhaRf4i hEsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=SYCqJo5n3iNSwAMD1wMNhGRBGCTHLBrROK8jnSGbXoI=; b=CsbLnI7Pl7amsZZqtJVun9RA8JHtjdCZ44yrWk8iH33fjC/F2d7d8Y4BY+rmJBqOEP vd1F+F5PkgW3oPhXog5kuJ9Yw5d2dVtQO4/WsEoYT7ekIc5avWcKml3KjiWYPlpq5Oky 4UYdEax+ht96+iEoQwyA61CfgXWXcp6BbqBnEtf6zi2Y8NX3OOq/qILNuOvfOGDaElNh ELXiiMym52QLiSur7dyhKPZY+bujWcnLjW05JT+pk+SULh8J4vb6adhmn7wqA1YBV8R3 D/rcF1Cvb0tVoXezaYC2YEz45IzHvKfxDsIICHUacqUDpKNWr/rGVXO2BCUO0ra+vGhv 65xg== X-Gm-Message-State: AA6/9RlZHbE1DtJ9lslWxZoSAfWUAiua6sZ2C0qdphiGONnvqL8rI3nAKi11ehJ9o96OslGS X-Received: by 10.194.112.68 with SMTP id io4mr1893518wjb.1.1475570575505; Tue, 04 Oct 2016 01:42:55 -0700 (PDT) Received: from xps13.localnet (172.17.90.92.rev.sfr.net. [92.90.17.172]) by smtp.gmail.com with ESMTPSA id q65sm2837350wmd.24.2016.10.04.01.42.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 04 Oct 2016 01:42:54 -0700 (PDT) From: Thomas Monjalon To: Jerin Jacob , Jan Viktorin Cc: Nipun Gupta , dev@dpdk.org, "jianbo.liu@linaro.org" , Hemant Agrawal Date: Tue, 04 Oct 2016 10:42:49 +0200 Message-ID: <5251875.5YmvKy6xFj@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20160819125217.GA7169@localhost.localdomain> References: <1471521090-21067-1-git-send-email-jerin.jacob@caviumnetworks.com> <20160819142458.42dad72b@pcviktorin.fit.vutbr.cz> <20160819125217.GA7169@localhost.localdomain> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] eal/armv8: high-resolution cycle counter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 08:42:55 -0000 2016-08-19 18:22, Jerin Jacob: > On Fri, Aug 19, 2016 at 02:24:58PM +0200, Jan Viktorin wrote: > > On Fri, 19 Aug 2016 17:16:12 +0530 > > Jerin Jacob wrote: > > > > > > I've got a private kernel driver enabling and disabling (hopefully) properly > > this for ARMv7. If we'd like to merge it, I'd like to have a single module > > or at least single module with 2 implementations... > > > > I can post it if it would be helpful. > > I don't think we can use this in production as this may alter PMU state used > by 'perf' etc.I think let it be a debug interface for armv7 and armv8 > and disable it by default. Please could you document the use of PMU for debug and how it alters usage of kernel counters? A patch in doc/guides/prog_guide/profile_app.rst would be welcome. Ideally, it would be a lot better to have a sysfs entry to enable PMU counter with an upstream kernel.