Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp867548pxf; Thu, 8 Apr 2021 14:54:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwsnupf3hhLE3bAHMpVY/NSl2vA9NDTlEX74Kc4dxJMGvMA1rGQP28bpRurDu+GCl96Axq X-Received: by 2002:a17:906:6dc9:: with SMTP id j9mr13436817ejt.188.1617918846498; Thu, 08 Apr 2021 14:54:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617918846; cv=none; d=google.com; s=arc-20160816; b=RktcCBhmwHgDBNnN0rMw/ylYJISmo6H5PVNC/yig4FOdrOEdKx9RvkBY2c97Cl/PCA vNNuCq8hvLclrUVx/WlrvuVXXU3VtFCPPi8TAl2GhWMmeboSZqOp8ocmb4TKGkgAVz3s ypgCvUIjjpYeT7dnmfIDRnMH5b4CcT3lo9Ay8roqs0jI+E0OOFn7daBPV1KID9b7Aw8P cwurO1ZrTWQAHNjxG06//3ah7tYYPEm+x4fykiZZs451W03z0ttAMXK0alCT9Tl2xcXv lQFJCM4sEcrD4H+o7CZEhtbEzh9n5PaEOPQlRS5bK5uxdYbIo0KjcH2xOB+q1aIessMj eGzw== 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:dkim-signature; bh=92NIhN9ZuELd+NWbfoJmx7vzaPknY/LY6xv15ibOSNY=; b=QZfoPptDdMnHexqtSrm4BpL75OGlI1qUzTf5berKBWYCAAG7dNEG4Sje4taG7DbZt2 h9Zp45otYjcGDIM5ypZ9lav9OTs/dVJEmYOudCoBmvle+i45shpljcLMtTOXwzaR7Jh0 xPj7TajLyKoU4n24hHNzTfUPGbObZOmkj0JhmgWfqs7+DuwwZ0+wnpj4ORoFLz/D9HLX AP3c8r7dpcJ+KGBi43uXiJaHwbNKa5NoLcnQ7LjrXZq7/i2khNbh4iXjT1m9XtXV5lXz kTBZJvvnk0zuJnE54f6dp8X1IJ0T8G9bCou8eQiY7yqCai6tDIhB0MZibYGl4QtCjonR p3NQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bg6J0cN1; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i10si486560ejk.250.2021.04.08.14.53.43; Thu, 08 Apr 2021 14:54:06 -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=@redhat.com header.s=mimecast20190719 header.b=bg6J0cN1; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232518AbhDHVwp (ORCPT + 99 others); Thu, 8 Apr 2021 17:52:45 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50529 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232387AbhDHVwo (ORCPT ); Thu, 8 Apr 2021 17:52:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1617918752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=92NIhN9ZuELd+NWbfoJmx7vzaPknY/LY6xv15ibOSNY=; b=bg6J0cN18lOO+0/FwAGFZ0kr8efwNBuqoNfdFZU1DQEqvQ3XjD9OLpqxgl4DzXwOSCO6ti ksEIwUOQkm1xOzUrEJAcG2VA0mk0XlsuEZTe4hyMaWS+HRPeiDEaRTg0h0drfzufCec9OP Yz5LKvIgITWZlPEJVRMyrkgYPyio0Yw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-456-GyMX-SVtOXGoZD13Fho9Pw-1; Thu, 08 Apr 2021 17:52:28 -0400 X-MC-Unique: GyMX-SVtOXGoZD13Fho9Pw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6D364801814; Thu, 8 Apr 2021 21:52:27 +0000 (UTC) Received: from krava (unknown [10.40.192.110]) by smtp.corp.redhat.com (Postfix) with SMTP id 5D16B60BE5; Thu, 8 Apr 2021 21:52:23 +0000 (UTC) Date: Thu, 8 Apr 2021 23:52:22 +0200 From: Jiri Olsa To: "Bayduraev, Alexey V" Cc: Arnaldo Carvalho de Melo , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Ingo Molnar , linux-kernel , Andi Kleen , Adrian Hunter , Alexei Budankov , Alexander Antonov Subject: Re: [PATCH v4 00/12] Introduce threaded trace streaming for basic perf record operation Message-ID: 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: <6c15adcb-6a9d-320e-70b5-957c4c8b6ff2@linux.intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 06, 2021 at 11:37:26AM +0300, Bayduraev, Alexey V wrote: > > Changes in v4: > - renamed 'comm' structure to 'pipes' > - moved thread fd/maps messages to verbose=2 > - fixed leaks during allocation of thread_data structures > - fixed leaks during allocation of thread masks > - fixed possible fails when releasing thread masks > > v3: https://lore.kernel.org/lkml/7d197a2d-56e2-896d-bf96-6de0a4db1fb8@linux.intel.com/ hi, I recall there was some issue wrt threading and intel_pt, which we either need to fixed or we need to disable threads for it [root@krava perf]# ./perf record -e intel_pt// --threads=cpu ^C[ perf record: Woken up 121 times to write data ] Warning: AUX data lost 95 times out of 206! [ perf record: Captured and wrote 211.364 MB perf.data ] [root@krava perf]# ./perf script Segmentation fault (core dumped) the fix should already be in the perf/record_threads branch, jirka