From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753902AbbIKUWc (ORCPT ); Fri, 11 Sep 2015 16:22:32 -0400 Received: from casper.infradead.org ([85.118.1.10]:52310 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751696AbbIKUWa (ORCPT ); Fri, 11 Sep 2015 16:22:30 -0400 Date: Fri, 11 Sep 2015 17:22:22 -0300 From: Arnaldo Carvalho de Melo To: =?iso-8859-1?Q?Rapha=EBl?= Beamonte Cc: Jiri Olsa , Namhyung Kim , Jiri Olsa , lkml , David Ahern , Ingo Molnar , Peter Zijlstra , Matt Fleming Subject: Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Message-ID: <20150911202222.GV23511@kernel.org> References: <1441615087-13886-1-git-send-email-jolsa@kernel.org> <1441615087-13886-6-git-send-email-jolsa@kernel.org> <20150910070030.GB18425@danjae.kornet> <20150910080537.GA19014@krava.brq.redhat.com> <20150911160931.GB3447@danjae.kornet> <20150911161647.GB20016@krava.brq.redhat.com> <20150911185543.GT23511@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Sep 11, 2015 at 03:56:44PM -0400, Raphaël Beamonte escreveu: > Another possibility would be to have another perf command, sort of a > "perf remountfs", to run with sudo and that would make itself both > checks and remount accordingly the two fs. This part maybe more interesting, so I'll focus on it, yeah, having a: 'perf fixperms' command (have a better name? :) ) may make sense, would need context tho, i.e. something like: perf fixperms trace Or: perf fixperms top But then, perhaps in that case: $ trace ls Error: No permissions to read /sys/kernel/debug/tracing/events/raw_syscalls/sys_(enter|exit) Hint: Try 'sudo mount -o remount,mode=755 /sys/kernel/debug' We could just add some more text saying that please check as well that the other parts of the path we're trying to access are available once the suggestion is followed. - Arnaldo