From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750945AbcBLUzR (ORCPT ); Fri, 12 Feb 2016 15:55:17 -0500 Received: from mx1.redhat.com ([209.132.183.28]:55173 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750765AbcBLUzQ (ORCPT ); Fri, 12 Feb 2016 15:55:16 -0500 Date: Fri, 12 Feb 2016 18:55:12 -0200 From: Arnaldo Carvalho de Melo To: Wang Nan Cc: Alexei Starovoitov , Arnaldo Carvalho de Melo , Brendan Gregg , Adrian Hunter , Cody P Schafer , "David S. Miller" , He Kuang , =?iso-8859-1?Q?J=E9r=E9mie?= Galarneau , Jiri Olsa , Kirill Smelkov , Li Zefan , Masami Hiramatsu , Namhyung Kim , Peter Zijlstra , pi3orama@163.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/54] perf record: Apply config to BPF objects before recording Message-ID: <20160212205512.GC2663@redhat.com> References: <1454680939-24963-1-git-send-email-wangnan0@huawei.com> <1454680939-24963-9-git-send-email-wangnan0@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1454680939-24963-9-git-send-email-wangnan0@huawei.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Feb 05, 2016 at 02:01:33PM +0000, Wang Nan escreveu: > bpf__apply_obj_config() is introduced as the core API to apply object > config options to all BPF objects. This patch also does the real work > for setting values for BPF_MAP_TYPE_PERF_ARRAY maps by inserting value > stored in map's private field into the BPF map. Ok, I have up to here in my perf/core branch, will perform tests and see if I can push to Ingo so that we make progress, please take a look at Jiri's comments for the next patches. - Arnaldo