Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1532735
| From | David Ahern <dsahern@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] perf sched timehist: Improve error message when analyzing wrong file |
| Date | 2016-11-29 21:20 +0100 |
| Message-ID | <sIX2G-4Lk-5@gated-at.bofh.it> (permalink) |
| References | <sIWJj-4l9-17@gated-at.bofh.it> <sIX2G-4Lk-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] perf sched timehist: Improve error message when analyzing wrong file David Ahern <dsahern@gmail.com> - 2016-11-29 21:00 +0100
Re: [PATCH] perf sched timehist: Improve error message when analyzing wrong file Arnaldo Carvalho de Melo <acme@kernel.org> - 2016-11-29 21:20 +0100
Re: [PATCH] perf sched timehist: Improve error message when analyzing wrong file David Ahern <dsahern@gmail.com> - 2016-11-29 21:20 +0100
csiph-web