All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: "Pourroy, Jean" <jean.pourroy@hpe.com>
Cc: "linux-perf-users@vger.kernel.org" <linux-perf-users@vger.kernel.org>
Subject: Re: Perf stat: add the date for each measurement
Date: Fri, 12 Jan 2018 13:48:13 -0300	[thread overview]
Message-ID: <20180112164813.GF9655@kernel.org> (raw)
In-Reply-To: <416177EA-7E58-419F-8E1B-81118DEB8152@hpe.com>

Em Thu, Jan 11, 2018 at 03:09:15PM +0000, Pourroy, Jean escreveu:
> Hello everyone,
> 
> Do you know if there is a way to add the date on each line of the « perf stat » results (first column in the example above).
> Here an example of what I want to get:
> 
> 
> @../test > perf stat -a  -e uncore_imc_0/cas_count_read/  -I 1000 sleep 3
> 
> # <date +%s>		time counts	unit 		events
> 1515682946     	1.001277764 	1.72 MiB  uncore_imc_0/cas_count_read/
> 1515682947     	2.002748567 	1.90 MiB  uncore_imc_0/cas_count_read/
> 1515682948		3.003294258 	4.68 MiB  uncore_imc_0/cas_count_read/
> …

Not that I can remember, but a patch for that would be welcome :-)

- Arnaldo

      reply	other threads:[~2018-01-12 16:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11 15:09 Perf stat: add the date for each measurement Pourroy, Jean
2018-01-12 16:48 ` Arnaldo Carvalho de Melo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180112164813.GF9655@kernel.org \
    --to=acme@kernel.org \
    --cc=jean.pourroy@hpe.com \
    --cc=linux-perf-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.