From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peipei Wang Subject: Re: How can I write a script and use perf script to process the record data periodically Date: Thu, 15 Aug 2013 17:19:43 -0400 Message-ID: References: <520D08AA.9000605@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mail-vb0-f53.google.com ([209.85.212.53]:47237 "EHLO mail-vb0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751133Ab3HOVTo (ORCPT ); Thu, 15 Aug 2013 17:19:44 -0400 Received: by mail-vb0-f53.google.com with SMTP id i3so1032997vbh.26 for ; Thu, 15 Aug 2013 14:19:44 -0700 (PDT) In-Reply-To: <520D08AA.9000605@gmail.com> Sender: linux-perf-users-owner@vger.kernel.org List-ID: To: David Ahern Cc: perf group Hi David, What I want to do is as this: Unlike using perf record to write samples to a perf.data, I want to just read each 100 samples and do some statistics on them and write down the statistical data rather than the raw sampling information. The Man page of Perf script says that : 'perf script