[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <72c47909-8e9c-616c-1afe-5daa12f44473@gmail.com>
Date: Tue, 29 Nov 2016 13:17:43 -0700
From: David Ahern <dsahern@...il.com>
To: Arnaldo Carvalho de Melo <arnaldo.melo@...il.com>
Cc: mingo@...nel.org, peterz@...radead.org, namhyung@...nel.org,
jolsa@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf sched timehist: Improve error message when analyzing
wrong file
On 11/29/16 1:14 PM, Arnaldo Carvalho de Melo wrote:
> It uses things like:
>
> if (kmem_page) {
> struct perf_evsel *evsel;
>
> evsel = perf_evlist__find_tracepoint_by_name(session->evlist,
> "kmem:mm_page_alloc");
> if (evsel == NULL) {
> pr_err(errmsg, "page", "page");
> goto out_delete;
> }
>
I thought something like existed but did not find it looking at kvm and sched commands. Will re-spin to be consistent with kmem.
Powered by blists - more mailing lists