[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1408515707.15841.3.camel@concordia>
Date: Wed, 20 Aug 2014 16:21:47 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Cc: Jiri Olsa <jolsa@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v3] powerpc/perf: Implement get_cpu_str()
On Mon, 2014-08-18 at 17:08 -0700, Sukadev Bhattiprolu wrote:
> powerpc/perf: Implement get_cpu_str()
>
> With a file ~/.cache/pmu-events/004d0100-core.json describing Power8
> PMU events we would need to run:
>
> perf stat \
> --events-file ~/.cache/pmu-events/004d0100-core.json \
> -e PM_CYC sleep 1
>
> With this get_cpu_str(), On Powerpc, we can skip the --events-file option
> and run:
>
> perf stat -e PM_CYC sleep 1
>
> Signed-off-by: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
Acked-by: Michael Ellerman <mpe@...erman.id.au>
cheers
--
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