From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752594AbdBUOGT (ORCPT ); Tue, 21 Feb 2017 09:06:19 -0500 Received: from mail.skyhub.de ([78.46.96.112]:49857 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752484AbdBUOGL (ORCPT ); Tue, 21 Feb 2017 09:06:11 -0500 Date: Tue, 21 Feb 2017 15:05:44 +0100 From: Borislav Petkov To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Jiri Olsa , David Ahern , Namhyung Kim , Peter Zijlstra , lkml , Ingo Molnar Subject: Re: [PATCHv2 4/5] perf stat: Add -a as a default target Message-ID: <20170221140544.mg7dbymp5w6lq7o7@pd.tnic> References: <20170218175225.5cylpqti7oluqehv@pd.tnic> <20170220071300.GA12002@krava> <20170220134433.GI4109@kernel.org> <20170220203149.yxietgdzi5lxdk5n@pd.tnic> <20170220212254.GC4071@kernel.org> <20170220224716.q6r3awztsf6t3k5a@pd.tnic> <20170221075437.GB7384@krava> <20170221110451.GA16152@krava> <20170221112028.p2bznm4dn7ktpwzz@pd.tnic> <20170221133426.GD4071@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170221133426.GD4071@kernel.org> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 21, 2017 at 10:34:26AM -0300, Arnaldo Carvalho de Melo wrote: > It _is_ supported by the kernel, and by the hardware, its just that it > is not supported in system wide mode, that BTW, in the case above, the > user doesn't even asked for (-a wasn't in the command line). Well, that warning is issued for a bunch of errno's. Lumping them all together is probably not what you want. Also, EINVAL for example, as I noted earlier, can be issued for a variety of conditions... -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.