[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140711082706.GD31646@krava.redhat.com>
Date: Fri, 11 Jul 2014 10:27:06 +0200
From: Jiri Olsa <jolsa@...hat.com>
To: Stephane Eranian <eranian@...gle.com>
Cc: linux-kernel@...r.kernel.org, peterz@...radead.org, mingo@...e.hu,
ak@...ux.intel.com, acme@...hat.com, namhyung@...nel.org
Subject: Re: [PATCH 3/4] perf tools: add core support for sampling intr
machine state regs
On Wed, Jul 09, 2014 at 12:15:58AM +0200, Stephane Eranian wrote:
> Add the infrastructure to setup, collect and report the interrupt
> machine state regs which can be captured by the kernel.
>
> Signed-off-by: Stephane Eranian <eranian@...gle.com>
> ---
> tools/perf/perf.h | 1 +
> tools/perf/util/event.h | 7 +++++++
> tools/perf/util/evsel.c | 25 ++++++++++++++++++++++++-
> tools/perf/util/session.c | 26 ++++++++++++++++++++++++++
> 4 files changed, 58 insertions(+), 1 deletion(-)
>
> diff --git a/tools/perf/perf.h b/tools/perf/perf.h
> index 510c65f..309d956 100644
> --- a/tools/perf/perf.h
> +++ b/tools/perf/perf.h
> @@ -54,6 +54,7 @@ struct record_opts {
> bool sample_weight;
> bool sample_time;
> bool period;
> + bool sample_intr_regs;
could you please also update tests/sample-parsing.c,
so we get some basic automated testing of this
thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists