Re: [PATCH v3] perf mem: enable sampling loads and stores simultaneously

From: Namhyung Kim
Date: Wed Dec 17 2014 - 23:52:51 EST


Hi Stephane,

On Wed, Dec 17, 2014 at 04:23:55PM +0100, Stephane Eranian wrote:
>
> This patch modifies perf mem to default to sampling loads
> and stores simultaneously. It could only do one or the other
> before yet there was no hardware restriction preventing
> simultaneous collection. With this patch, one run is sufficient
> to collect both.
>
> It is still possible to sample only loads or stores by using the
> -t option:
> $ perf mem -t load rec
> $ perf mem -t load rep
> Or
> $ perf mem -t store rec
> $ perf mem -t store rep
>
> The perf report TUI will show one event at a time. The store
> output will contain a Weight column which will be empty.
>
> In V2, we updated the man pages to reflect the change and
> also simplify the initialization of the argv vector passed
> to the cmd_*() functions as per LKML feedback.
>
> In V3, we fixed typos in the changelog.
>
> Signed-off-by: Stephane Eranian <eranian@xxxxxxxxxx>

Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>

Thanks,
Namhyung
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/