[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140321112249.77b5ee70@gandalf.local.home>
Date: Fri, 21 Mar 2014 11:22:49 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Namhyung Kim <namhyung@...nel.org>
Cc: Arnaldo Carvalho de Melo <acme@...stprotocols.net>,
Frederic Weisbecker <fweisbec@...il.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung.kim@....com>,
LKML <linux-kernel@...r.kernel.org>,
Jiri Olsa <jolsa@...hat.com>,
Ramkumar Ramachandra <artagnon@...il.com>
Subject: Re: [PATCH 1/2] tools lib traceevent: Print event name when show
warning if possible
On Wed, 19 Mar 2014 10:22:53 +0900
Namhyung Kim <namhyung@...nel.org> wrote:
> It's sometimes useful to know where the parse failure was occurred.
> Add do_warning_event() macro to see the failing event.
>
> It now shows the messages like below:
>
> $ perf test 5
> 5: parse events tests : Warning: [kvmmmu:kvm_mmu_get_page] bad op token {
> Warning: [kvmmmu:kvm_mmu_sync_page] bad op token {
> Warning: [kvmmmu:kvm_mmu_unsync_page] bad op token {
> Warning: [kvmmmu:kvm_mmu_prepare_zap_page] bad op token {
> Warning: [kvmmmu:fast_page_fault] function is_writable_pte not defined
> Warning: [xen:xen_mmu_ptep_modify_prot_commit] function sizeof not defined
> Warning: [xen:xen_mmu_ptep_modify_prot_start] function sizeof not defined
> Warning: [xen:xen_mmu_set_pgd] function sizeof not defined
> Warning: [xen:xen_mmu_set_pud] function sizeof not defined
> Warning: [xen:xen_mmu_set_pmd] function sizeof not defined
Nice feature.
Acked-by: Steven Rostedt <rostedt@...dmis.org>
-- Steve
> ...
>
--
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