Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp4886187rwb; Tue, 6 Sep 2022 14:32:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR4XlJSv6MfCEI+xAkcNSfY7deEs8fsSKP1qAGCOoUGjRBRafuoURp6273Ma6PESkhZcB5zg X-Received: by 2002:a05:6402:510e:b0:448:9d4b:c760 with SMTP id m14-20020a056402510e00b004489d4bc760mr491490edd.156.1662499963990; Tue, 06 Sep 2022 14:32:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662499963; cv=none; d=google.com; s=arc-20160816; b=af1MniKyqz4AO10/BaZ3LVY2DZvBIJjd5p2VFQ2VWFTVddMh0Aleq0fjDZhJUOmpdm 7xiMjMKVfX6zty8b5sPxdUOAhKEHHI6qc9d1y1+8bPgiy7VuigRk+Wa2GL9bUV/F5si7 zmNmNmIEUl3mMq0G29C8llZ+RVy6UYTfudNqxaoere7OHn3XiD0bQMi1RuIST6ueEBrt iLknsS2/7coiMyEasC/sHlIWwMh+kDhTgd0KfKkd6buC9hjw8qLizKdttjfHYdvGDsUv YhwXYxmTfvuVhM5Vu+3mbMxzIKhYj6SWBojz6lEE1mkr9WgHtTFSxya4W9ij+WMrHgDo aH6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:date:from:dkim-signature; bh=iphfHBoIMOL1lNTHRr252fzN2iLvPwqaZYRfa0FBIl0=; b=a+idPzC0ZmuaI4uB5CNVFbYzGP376ccRqcgjr5I+B+Yx8v+VfNBXsp23/1Uj7zzo1k FECiUcSj+Arjgl2zqJMUTxDnh7KLYDLO5j/ekV1QJCeRzraVOpTDNN8PcJ8VSMMCgnD9 xPdPY2QxAeO+CaG5YLgvCe0FS3ENI1pogqRW3R68+P6SGJ6gURs/gjdrKqUGmzUDA1uW GpUJwOLpzx08gWZDF5d07S8/XsIBWDGyvWUQwfl3TjmPWAC0r3GCxb+MhNuRUS1XJoAt 1nUIea/m6KusbUgV1pEsV/3EPbEOpgr0Vm9xZm2jNTtkGB/qgv0kiI4Fg6LoU3/dPIu8 Xyjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=chgn4pbD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=maine.edu Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id fd23-20020a056402389700b0044eedb5a82dsi1103628edb.476.2022.09.06.14.32.18; Tue, 06 Sep 2022 14:32:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=chgn4pbD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=maine.edu Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230005AbiIFVRU (ORCPT + 99 others); Tue, 6 Sep 2022 17:17:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55446 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbiIFVRS (ORCPT ); Tue, 6 Sep 2022 17:17:18 -0400 Received: from mail-qk1-x736.google.com (mail-qk1-x736.google.com [IPv6:2607:f8b0:4864:20::736]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C10CBB8A67 for ; Tue, 6 Sep 2022 14:17:17 -0700 (PDT) Received: by mail-qk1-x736.google.com with SMTP id c9so9176922qkk.6 for ; Tue, 06 Sep 2022 14:17:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=mime-version:references:message-id:in-reply-to:subject:cc:to:date :from:from:to:cc:subject:date; bh=iphfHBoIMOL1lNTHRr252fzN2iLvPwqaZYRfa0FBIl0=; b=chgn4pbDbcOp3ZbEZ0S3NHjfUXE16m4I6KQGo5MTe7zZewnaoKHfkshoAk8SQR2Wj/ Lf3bH9ZA+yPsCOdwrmnauTe8etrWFMzUhP/ePs9pWiM0lnoGIYNe76MgkiXNzpzgOuLQ p74cCqKyLqxws1X/4yHYvVnREU6i1eAM3FLHA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:message-id:in-reply-to:subject:cc:to:date :from:x-gm-message-state:from:to:cc:subject:date; bh=iphfHBoIMOL1lNTHRr252fzN2iLvPwqaZYRfa0FBIl0=; b=SFQ5r+WUoyMkyO4Pj2B0Rp6ekiL8RAY+uxwcicf+k6YDpLdFfDQ0uXlDXIRO2enLoh hpP4uZrf3M2HSsuTBlVgXs4YyetyvT6HjOlnCqzy8sz/Wz+kg+bpHdufMf9gIg6GVnmB z5fLTKw54bo1NjkXAY2Rr2fkyEX19jgsnbkJ2Qsr9ncAbHcu46k/f86oaJLNS5AGi/ez f2BjRA1s2NAdgihHlXNpmwYItdr4qR3H0XH5qDIlOOjEeyV8rdKeJXpKvm87aEmRzBsd 9XI+qfRoDP3wcgMICOWbCXiX3sCrqCHSCiVzJRwG0HWGVdaVtyad9sFC1povoq5tfeB6 szuw== X-Gm-Message-State: ACgBeo2YEDez2+YkDB5DAGeACuH86hiFH6bDVKupU0o6k00ak/GGuKej QzJn8RxtE4vcqhwUpmORwecAbA== X-Received: by 2002:a05:620a:4e1:b0:6bb:5c0e:ab58 with SMTP id b1-20020a05620a04e100b006bb5c0eab58mr504151qkh.730.1662499036977; Tue, 06 Sep 2022 14:17:16 -0700 (PDT) Received: from macbook-air.local (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id y22-20020a37f616000000b006b893d135basm11381881qkj.86.2022.09.06.14.17.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Sep 2022 14:17:16 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Tue, 6 Sep 2022 17:17:14 -0400 (EDT) To: Ian Rogers cc: Adrian Hunter , Jiri Olsa , Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Peter Zijlstra , Ingo Molnar Subject: Re: [PATCH V2] libperf evlist: Fix per-thread mmaps for multi-threaded targets In-Reply-To: Message-ID: <69bf3c5b-e3e8-9099-bd7b-b05beea7bd1f@maine.edu> References: <20220905114209.8389-1-adrian.hunter@intel.com> <60b5c9bf-4ec9-957e-17dd-aa0a50411ff9@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Sep 2022, Ian Rogers wrote: > > >> perf_evlist__set_mmap_first(evlist, map, overwrite); > > >> } else { > libperf CPU map code as I'd like to propose we start a libperf2 (with > LPC coming up it'd be a good place to discuss this, there's also the > office hours on Thursday). What I hope for libperf2 is that we can > make its license the same as libbpf, so the code can be more widely > included in projects. If you did plan to do this, it might be nice to include some representatives from groups that would be likely to use such a library. This might include the PAPI library developers, and there are various other tools (especially in the HPC area) who are coding to perf_event_open() directly but probably would like to use a library instead if possible. Vince Weaver vincent.weaver@maine.edu