From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032180AbdD1Ct1 (ORCPT ); Thu, 27 Apr 2017 22:49:27 -0400 Received: from mail.kernel.org ([198.145.29.136]:51148 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938943AbdD1CtU (ORCPT ); Thu, 27 Apr 2017 22:49:20 -0400 Date: Thu, 27 Apr 2017 22:49:14 -0400 From: Steven Rostedt To: David Ahern Cc: David Carrillo-Cisneros , Jiri Olsa , Namhyung Kim , Arnaldo Carvalho de Melo , Andi Kleen , Frederic Weisbecker , Peter Zijlstra , Wang Nan , linux-kernel , Stephane Eranian Subject: Re: perf report warnings on tracepoint events hidden by ui Message-ID: <20170427224914.57879722@gandalf.local.home> In-Reply-To: References: <20170427214147.2d56b202@gandalf.local.home> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 Apr 2017 20:13:43 -0600 David Ahern wrote: > On 4/27/17 7:41 PM, Steven Rostedt wrote: > > On Thu, 27 Apr 2017 19:31:12 -0500 > > David Carrillo-Cisneros wrote: > > > >> When processing tracepoint events, perf report outputs warnings about > >> field not founds. The warnings are usually hidden by perf report UI > >> and appear when using the --stdio option. e.g. > >> > >> $ perf record -e syscalls:sys_enter_mmap some_load > > '-e syscalls' vs raw_syscalls suggests an older kernel -- like RHEL6. New kernels have both syscalls and raw_syscalls. The raw_syscalls are the true tracepoints that the syscalls use. His option works on 4.11-rc8. -- Steve > > > See the note I put into tools/perf/builtin-trace.c: > > static struct perf_evsel *perf_evsel__syscall_newtp(const char > *direction, void *handler) > { > struct perf_evsel *evsel = perf_evsel__newtp("raw_syscalls", > direction); > > /* older kernel (e.g., RHEL6) use syscalls:{enter,exit} */ > if (IS_ERR(evsel)) > evsel = perf_evsel__newtp("syscalls", direction); > > > Are you running top of tree perf on RHEL6?