Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp632284pxv; Thu, 22 Jul 2021 08:36:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZRzDdjkGZX9xzI4dFikz29/SOPmGG+a0hdWMGhcTESFbaY6dTpt3PvJASN6IqlPkldjOI X-Received: by 2002:a05:6402:1657:: with SMTP id s23mr273714edx.180.1626968168576; Thu, 22 Jul 2021 08:36:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626968168; cv=none; d=google.com; s=arc-20160816; b=aToRts1mZmEJVpIQA6F9bEaYzqC1uKFmhn6gjFLh9mBFOTtgFwQEA0Xf8/QwO42iOg cLf+75vCf4AuHtJs3VlLS0L4nnAPnewBJHHouMJzMKTytdXoz/PIgahR1ewdfo/69VyG tGu9e7Bhsu8UPnB7rah2DKfXYHl6k/Nlvs6VYQkom3dlf5SgCUFWqwovxWOgqPNbVoaS mjcwyHuQz6hhXRBK9wBpDfLtnoGTBIAhe7hpVYfQGQVIQU+r7Vc2mPSeZ+IS8vlz6Lzs yA0JRcQhXTG5GnvoD0LJPgOZEw5uxG66LeftA3Etf6+w73wWy2qZ1lNsnsOcTyrmiO6O yf4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=dyJINemfwGSOATCuLd9fCZ7pa/ePCnr/XUM9FOXXsb4=; b=HYbNWELQe1muMURxahELp1W9GWDsN1Y7QF+HNadVHAmMLc+eqDouHz6lxHHJgpbbQu ESwY7gSQbWcYRhOSqET46303KKwMOwraG6quFoVaDUuvNTvxpUe9+yt7GNrCKQFFx05V tvtCpc/wI8cx2KFBXPSb9IFWmQL1Y8PAwAAQ1u+R4l98au8mj20iaMffw1nEf/K9W+p1 6lPnicuoYE2Il7XkhTh/7nZdlHYr3utyEX86U0dasTcR+J8xvJ9tT7ucX0R+GE4hP/Tq N8BPnNjU78GRQfH2SX3uW5h+17oH8IPzf0uUgKWlb5Ui3EpQrfwxvXglriqEF2+8cwzD nFHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=G5YyGfSt; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t2si13716312edf.578.2021.07.22.08.35.44; Thu, 22 Jul 2021 08:36:08 -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=@gmail.com header.s=20161025 header.b=G5YyGfSt; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232636AbhGVOxr (ORCPT + 99 others); Thu, 22 Jul 2021 10:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60714 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232217AbhGVOxq (ORCPT ); Thu, 22 Jul 2021 10:53:46 -0400 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 62710C061757; Thu, 22 Jul 2021 08:34:20 -0700 (PDT) Received: by mail-wm1-x332.google.com with SMTP id k14-20020a05600c1c8eb02901f13dd1672aso2737873wms.0; Thu, 22 Jul 2021 08:34:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dyJINemfwGSOATCuLd9fCZ7pa/ePCnr/XUM9FOXXsb4=; b=G5YyGfStsB9EVlRm3eT80MFacY56yEfeHXGU/frm0/nqvvEUBqqfmLtAM1Fyi1YjPs QO8mvc8H3nEy0vCLE9Rxp1d73eyrQBNv6BooPcXpJwNU8dQEniMGo0HUZch1BCkD+GwA nCu58wZ6QSL5oQDHmpBrUyewocN+SzbmgTasyjnti1gJdqvCRpCCy2x6Ir025v4jXK0h JFpaKnhq3rDDJu89WVyBB/rdAV80FulZOc9UD157aCWN0xz6e7y9a/fD1NdwhxbS30Nf M+Yoal/YD+McZ58wlRFhq7jF5SzRKcYr9h22EMi3IYkAYJe4QMeKrbRPMhAm3dA+W43G 4z8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=dyJINemfwGSOATCuLd9fCZ7pa/ePCnr/XUM9FOXXsb4=; b=bWNte8Z7z8LpFPsYGce/Q+mJAoJOO3D71wYxvq0W4RIwygA6MgWtQGyN1sHXaDYOil G7TIFnRO+9Ylr46f4clhEzOVSJsyCToIkcIIFg+hnzUmJgGk0totWEqG76DbmquEZWSV 0cT4xEmZeVFJBXjzyPbYgiO1/Qumb379mMIsCRYTSbVJ4rdpzSFpcetkV6MM1KGSsQ18 t5nny+dheLvkjHj42HHUCd8bgCT/rxb6lufiOTaAEbSr/SxtQzo2zY5NYrMYhS9LbKzF 8ewfVG0yRQ0PvIRKWTTkgD2avzP5h/8RSlIjnJLTJ/ZUsgUfE67K/y3lqlD03pMU1Nlj tGfw== X-Gm-Message-State: AOAM530xad3W2j8kG9FyNiG6/EUsZ55hQ3GLfeazHGeXQiZWLuvIVY4e 8YzAhweodecUcCshMPJyZXU= X-Received: by 2002:a1c:4d14:: with SMTP id o20mr9336496wmh.89.1626968058881; Thu, 22 Jul 2021 08:34:18 -0700 (PDT) Received: from honeypot.. ([185.91.190.155]) by smtp.googlemail.com with ESMTPSA id o29sm23735557wms.13.2021.07.22.08.34.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jul 2021 08:34:18 -0700 (PDT) From: Riccardo Mancini To: Arnaldo Carvalho de Melo Cc: Namhyung Kim , Ian Rogers , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Riccardo Mancini , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 0/3] tools: add gettid to libc_compat.h Date: Thu, 22 Jul 2021 17:34:13 +0200 Message-Id: X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-) -- 2.31.1