From mboxrd@z Thu Jan 1 00:00:00 1970 From: Namhyung Kim Subject: Re: sampling and reading Date: Wed, 05 Nov 2014 11:41:43 +0900 Message-ID: <87ppd2xtaw.fsf@sejong.aot.lge.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from LGEMRELSE6Q.lge.com ([156.147.1.121]:37043 "EHLO lgemrelse6q.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751812AbaKEClp (ORCPT ); Tue, 4 Nov 2014 21:41:45 -0500 In-Reply-To: (Arnav's message of "Tue, 4 Nov 2014 20:27:08 +0000 (UTC)") Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: Arnav Cc: linux-perf-users@vger.kernel.org Hi Arnav, On Tue, 4 Nov 2014 20:27:08 +0000 (UTC), Arnav wrote: > i am working on a project where i need to find program counters for every 100M > instructions. > > i have used the following command to record the event > > perf record -e instructions -c 100000000 ./filename > > now, since counters are counted every 100M instructions, i read file using > 'perf report'. But i get results in some percentage form and not in numerical > numbers format. > > i wish to read the file and gather the perforamance counter statistics. > Plz suggest how to get the desired results. How about using perf report --show-total-period ? Thanks, Namhyung