Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp493780pxf; Thu, 8 Apr 2021 07:18:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/XJHoT4aAWHeqNm4GH9Ljdevj5WKIheLvepUuBwc4o2gSmF+UtbrjWfHvBrL2jGg0gQNI X-Received: by 2002:adf:eb0a:: with SMTP id s10mr11852098wrn.6.1617891480295; Thu, 08 Apr 2021 07:18:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617891480; cv=none; d=google.com; s=arc-20160816; b=sVZk2Dn1v0pohxmGDru93RQf7AR02A3KFYJd4n2RydnBX74xAJlAMcU+8vBDIOYPQ6 WnStwgamdGChazJP8I1uqgaC3Vxx+bBeMrwCexatw/JQ3J8oiiRsRIj9tR7m0DuxEdzq 7iMIzstMpFVjylyooFixpcgF3thILKwBgjem06aoluGg6mIFZj7zItgSN+JlqcBbMKaT aCjq9RIC0lhRokdhk7AWD0qlZHNVfQYT9C3pBvgcnpybjpZOC9J7SXKTejp9/aLEb9/3 t2kZ0WKnly2J6ia3MqulnicLJu6mnudzWSuLvQJdlzQklj3gF7+EH2uCT0Nn069w6Zup i73g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:ironport-sdr :ironport-sdr; bh=NBfo/j4CAjx44DdZmGJ6Ybs8NHFQmuq+ItaECSI6n4s=; b=lAo6sMtagQakhIXl4RIsxttUNQoxTWUAwMjMzMQFXRfW9W3s+U8K3mNRjEslf6jcew KgM+v2I2WomB3gi6F1nowFtkGi9g5Dzqm/9vL9qB2o7yuY/1voJmB6NX6cNEF9cKIlaa 5E3hSnF2TrZWxaTR5LlOF0tvUQTTYZpr3F0VzDNH8UCb2ymb+V//8c8PwKmpG3QvP7Bg c1F+YVwITYFdBcpkqwKQ/TC0oAHImMJWSje6Hvx7WJF3SJXxyr1SYuVK85w/iGc8hPCy kR0lPRwfFEAuBZ0vcOvhCo1l5l3GZfdl95NVqugaN7/5pXlqEpD9Cp5wUexgxFrHAsMF cFzw== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c17si20769608ede.535.2021.04.08.07.17.37; Thu, 08 Apr 2021 07:18:00 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231922AbhDHOQd (ORCPT + 99 others); Thu, 8 Apr 2021 10:16:33 -0400 Received: from mga12.intel.com ([192.55.52.136]:19473 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231907AbhDHOQa (ORCPT ); Thu, 8 Apr 2021 10:16:30 -0400 IronPort-SDR: qss1IFMzvbBLJnIZhb+S1BcFbyZgP/5S52WdsaiuJAbL10i4VBtFJFmCHmwuwd5xeS1qMNAP6H 52jZNttfFrXA== X-IronPort-AV: E=McAfee;i="6000,8403,9948"; a="173025364" X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="173025364" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:16:18 -0700 IronPort-SDR: dBbG1/EwCwLdU5InOJlJAC7+UvqtmNtgRKThjwidlM2l9ydQdpraMWE3qOHBesTSE5zk0uans0 JS6eBRwsgi5g== X-IronPort-AV: E=Sophos;i="5.82,206,1613462400"; d="scan'208";a="458841825" Received: from tassilo.jf.intel.com ([10.54.74.11]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2021 07:16:18 -0700 Date: Thu, 8 Apr 2021 07:16:17 -0700 From: Andi Kleen To: "Bayduraev, Alexey V" Cc: Arnaldo Carvalho de Melo , Jiri Olsa , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel , Adrian Hunter , Alexei Budankov , Alexander Antonov Subject: Re: [PATCH v4 02/12] perf record: introduce thread specific data array Message-ID: <20210408141617.GD3762101@tassilo.jf.intel.com> References: <6c15adcb-6a9d-320e-70b5-957c4c8b6ff2@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > + } else { > + thread_data[t].tid = syscall(SYS_gettid); That always fills in the tid of the setup thread instead of the target threads?