From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753622AbbJSQIq (ORCPT ); Mon, 19 Oct 2015 12:08:46 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:34820 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750876AbbJSQIo (ORCPT ); Mon, 19 Oct 2015 12:08:44 -0400 Subject: Re: [PATCH 1/2] perf test: Silence tracepoint event failures To: Namhyung Kim , Arnaldo Carvalho de Melo References: <1445268229-1601-1-git-send-email-namhyung@kernel.org> Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Wang Nan From: David Ahern Message-ID: <56251586.3010908@gmail.com> Date: Mon, 19 Oct 2015 10:08:38 -0600 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445268229-1601-1-git-send-email-namhyung@kernel.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 10/19/15 9:23 AM, Namhyung Kim wrote: > Currently, when perf test is run by a normal user, it'll fail to access > tracepoint events. However the output is somewhat messy since it tries > to be nice with long error messages and hints. IMHO it's not needed > for 'perf test' by default and AFAIK the perf test uses pr_debug() > rather than pr_err() for such messages so that one can use -v option to > see further details on failed testcases if needed. > -----8<----- > > Signed-off-by: Namhyung Kim > --- > tools/perf/tests/openat-syscall-all-cpus.c | 2 +- > tools/perf/tests/openat-syscall-tp-fields.c | 2 +- > tools/perf/tests/openat-syscall.c | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > Acked-by: David Ahern