Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp933917pxv; Thu, 22 Jul 2021 16:33:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZK2x900wJz2OGR13qPQk6BVvodPg6YX4RVVmWiR2v2/jQF+36BLFiEddlzBRTazTYS+O1 X-Received: by 2002:a6b:7719:: with SMTP id n25mr1647874iom.37.1626996785894; Thu, 22 Jul 2021 16:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626996785; cv=none; d=google.com; s=arc-20160816; b=pB0uuXqLytwEpxucMmesBwkTuaeznu2GQrW5FrXCR93qabDHq3tv0f8X5cEFuHQ1xU xdpFzhRn4/Db9jhXqzPLMljxPOkq96mggYQCBbJVQG6iDiGSnelJD31VnXyucuYTMV80 2CdFsbuz9AkIwTHTMyuroq7maD37Kskwm4nvxvDbxNgV6+OMIZKGdvym5WmPaIhOm0bK OygeJGaEUXAFeX4b/10Vj37vWGKcGE00Pd1H5PLxFVdmP7BEkmp/gyOlyzgOMer2o2Fv gEXYSMUR/v/FdMjNgCgDuPzD9XxUfdOsLgKD7kOxhxz7W+oxpfsrYqrnxymgjpcXhxGY FZdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1Ah3hxIEkxG4Tfj2BhFU2Ycu/VLeQs8pazhZDcOSRuI=; b=XPxAgGVZ59k2haRzjvsKcj4OUbeY1RLG7NQt+Riq0kSPELjLUnMaiRto15Avo7MrPw KpWDWDvKMK5ujSfJaUVurzjnU2TAWZlwydV2lfotel5ZwG2dpJlcdBeaNJn35D1SJB/1 jzNLE40CMZhcSdBnLfCc8NfYCXKaXRFlJ0h+/ij4j6Xyypj8h17xi9QFLMTcClNCmonI I6CHzJvkeKq90DKEKpwLqGK+0sxR0dvAwenWXcWAPIyHHIRppTL+Hu1jchhfnaIcyLNW WIZQro1zSUVl0i4fb1n7g1UcKQ68sdzQsM+ayL5ujkQVaGy8G5TmqHldetNfBuBIUUAB lzSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="L/jbABCG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t11si33217346jan.92.2021.07.22.16.32.54; Thu, 22 Jul 2021 16:33:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="L/jbABCG"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232505AbhGVWvV (ORCPT + 99 others); Thu, 22 Jul 2021 18:51:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232024AbhGVWvT (ORCPT ); Thu, 22 Jul 2021 18:51:19 -0400 Received: from mail-io1-xd33.google.com (mail-io1-xd33.google.com [IPv6:2607:f8b0:4864:20::d33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B28EC061757 for ; Thu, 22 Jul 2021 16:31:53 -0700 (PDT) Received: by mail-io1-xd33.google.com with SMTP id h1so477862iol.9 for ; Thu, 22 Jul 2021 16:31:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1Ah3hxIEkxG4Tfj2BhFU2Ycu/VLeQs8pazhZDcOSRuI=; b=L/jbABCG0hw5gPUITvGkMBLiNMiW1P2E9lQr8zCrJyrrAmkBZkoncrILNrhXpXV8/s B6TZiGk6/iEGHBPe2Ms4FDKZ7mr8Heh9xbs5Me1P+fUcBV3yU8W6Nawg0qszuz5ZHpsu OpPv1zmMkN/1oVxJvt6W4ghM0WswFxQM47ZyEpUpAjgUkeouihsQPL0iXjZxplzXsrJp 6RS2Ul5ad0cGtFvMpASk5q74qpeb+JDBVZfGqn+5sdWemP2Kx43rG2nFJZS4Flc3EoAC Jh1Jw9+UX3Mn7Zc02rjGSXcO3EmjkvDqCZbUQNznlyqjPkP9qL/4mSlmpveMOSsUE2t0 zXoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1Ah3hxIEkxG4Tfj2BhFU2Ycu/VLeQs8pazhZDcOSRuI=; b=OuTI4zE5A3xfxs6F/8j80DrKXhihpLquv7WTttjoq5wSP7ljrDbaEZmLgvyAKUgGy0 Pt6wrSbxjM/ZJ2th8emtpr+jRMlcdIemCwlZDEcatHO/LOkUjShSNUbxJJvQDat4no12 55LkhAXF7vjwbY8NpRZXlEkhHyj0aMwdIKUTwxFeMhu4J1BIWQy+0JnXkMbL+AJVhyLD dYiSPX4El+bQNzu3ZDLhAC1XVYpbP3BLwwwasJBi7ja6TsfeAXgxzg7wnGvWRfmxJ6L8 GKx1L9cU2FM3thpzzN73q38FqWDEpTDVZxI9GK8j5vQ/z4bhT5Dmy4b1R8A/LEQ9Xif+ eQBQ== X-Gm-Message-State: AOAM532qN8ymiwlXsh4FE6Wy7NOjqyJe2K/Ulxg4ZE8QfzZA/UKoPEaz hKf5ac4knanSrvGmjMVa5k9muoJCYLLIu1EeHwP/bQ== X-Received: by 2002:a6b:4f16:: with SMTP id d22mr1644492iob.15.1626996712569; Thu, 22 Jul 2021 16:31:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ian Rogers Date: Thu, 22 Jul 2021 16:31:40 -0700 Message-ID: Subject: Re: [PATCH 0/3] tools: add gettid to libc_compat.h To: Riccardo Mancini Cc: Arnaldo Carvalho de Melo , Namhyung Kim , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 22, 2021 at 8:34 AM Riccardo Mancini wrote: > > Hi Arnaldo, > > following our previous discussion on workqueue RFC patchset, I'm sending > this patchet to add gettid to tools/include/tools/libc_compat.h. > This new definition will replace existing uses and will be used by the > workqueue code. > > Thanks, > Riccardo > > Riccardo Mancini (3): > tools libc_compat: add gettid > perf jvmti: use gettid from libc_compat > perf test: mmap-thread-lookup: use gettid > > tools/include/tools/libc_compat.h | 7 +++++++ > tools/perf/jvmti/jvmti_agent.c | 9 +-------- > tools/perf/tests/mmap-thread-lookup.c | 4 ++-- > 3 files changed, 10 insertions(+), 10 deletions(-) All 3 patches look like great cleanup, thanks! Acked-by: Ian Rogers Thanks, Ian