Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp23863pxb; Wed, 24 Feb 2021 17:03:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJyDWdFpHLHzpHxIrJk9/NEVHIVM5A4XYo7NtX4iwRvwG8JOTj7VnrsmwHpWzLm/RaczuD5G X-Received: by 2002:a17:907:1b1f:: with SMTP id mp31mr323563ejc.348.1614215037244; Wed, 24 Feb 2021 17:03:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614215037; cv=none; d=google.com; s=arc-20160816; b=BZJe07rLzynXDxhRjBnh2D6YjDlXN2AoV0QVRFsXJw7HcKrRGfYuboLmNAM+JJUMFU J9EjD8JiZsH+FgSb7dWKufmgxjOv7zlv1zRpk/byoy5GXjjei3c8Bv57K8GbLFDk5HnC yIJfeNvYLZCEHxalpq9E5aY55Pv24DQ7Pw7cnCBcCpmclBslGvNNOYzEu2xkSJbmiVyY 3b/H1ZKeeRu77sYpMYiaAEclokibUywfbjUcmbalCGfoL0Jie4y5v7s62w3o6LzqWRF1 Di5Z4Z6l61k5bTd8uLDZq9res1NFwCrm+2iDs7SEcYV129Wc0kFHiLEIdW7vcQJoVL5N yvig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature:dkim-filter; bh=RWhpJBj5X6Gn6W/WULJZl80dWN++QmdR7y6Njv4ap7g=; b=bjKVz9J7DT0iKBEy3k9SvSCocckZPqDTXYnnS2cPflSuy5sy5pSKlB/DJXcQJtrHIk gbKhqIVYSEiKoGlq4smtj2v419DruOHmvT4Tojig0nsI6q80upgRT9F+I3u6Sy1SbcAN 24KP/kYWPaSdOVwpLP4FnUorZafDecKmcr68feQNTDXhknIjr3vUKBAHZcjSgphqefXm R5cnZ6/nV0OsDbXAJsJSfRZwdvnO1fiGkgpr0bWfC2l7qpMJLurp5qeMOfDu5gQnOqFp mxkQhJ4fsglQ+tINhSO+DnHTMnoUBw0IWH/EbKdcmoU5cTBSTC/xstO/shaYlRHsGoJ6 Kr0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=default header.b=XCVVmaZU; 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=efficios.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u10si2182353edx.531.2021.02.24.17.03.31; Wed, 24 Feb 2021 17:03:57 -0800 (PST) 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=@efficios.com header.s=default header.b=XCVVmaZU; 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=efficios.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232495AbhBXQW6 (ORCPT + 99 others); Wed, 24 Feb 2021 11:22:58 -0500 Received: from mail.efficios.com ([167.114.26.124]:55156 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234748AbhBXQWu (ORCPT ); Wed, 24 Feb 2021 11:22:50 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id D16B5314DA7; Wed, 24 Feb 2021 11:22:07 -0500 (EST) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id UaOPzPv1u88f; Wed, 24 Feb 2021 11:22:03 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id 75E44314E2D; Wed, 24 Feb 2021 11:22:03 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.efficios.com 75E44314E2D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficios.com; s=default; t=1614183723; bh=RWhpJBj5X6Gn6W/WULJZl80dWN++QmdR7y6Njv4ap7g=; h=To:From:Message-ID:Date:MIME-Version; b=XCVVmaZUekk78Dy+xSiMLSrEzGNvWJwnF0xlJeh8WqxXo/pKOc5AXaTI1YOwx8g5y Zc61OIJriMZQhwpBgCG3rQc0GXTH4Yntj0bS8zFrRAV4w8tQvPlahFHAWjsYZV4Dm9 uj4aAycf/3ScoLIUfos+HzeQQtgp6OcEvf4bbmCr8oaC9SFAy2SEffsp/9VqIO+49y EpJj8Xd0ATykElpgX2qZx28V/ewtnheDkJz80HVUCYrcPnBq+5RbNqKdhIiM5YHX9j SY3d8n9v87+DoKLLpRXkzbvIEvRrHUpXYEgYb8A0FVl3k1Oe1BSPaTT0YZ3pJ10ITY FMBM6AA5agY3Q== X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail03.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id i49bEFWWJC29; Wed, 24 Feb 2021 11:22:03 -0500 (EST) Received: from [10.10.0.241] (96-127-212-112.qc.cable.ebox.net [96.127.212.112]) by mail.efficios.com (Postfix) with ESMTPSA id 31B6F314D41; Wed, 24 Feb 2021 11:22:03 -0500 (EST) Subject: Re: [RFC PATCH 0/6] [RFC] Faultable tracepoints (v2) To: Steven Rostedt Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Alexei Starovoitov , Yonghong Song , "Paul E . McKenney" , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Joel Fernandes , bpf@vger.kernel.org, Mathieu Desnoyers References: <20210218222125.46565-1-mjeanson@efficios.com> <20210223211639.670db85c@gandalf.local.home> From: Michael Jeanson Message-ID: <083bce0f-bd66-ab83-1211-be9838499b45@efficios.com> Date: Wed, 24 Feb 2021 11:22:03 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <20210223211639.670db85c@gandalf.local.home> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [ Adding Mathieu Desnoyers in CC ] On 2021-02-23 21 h 16, Steven Rostedt wrote: > On Thu, 18 Feb 2021 17:21:19 -0500 > Michael Jeanson wrote: > >> This series only implements the tracepoint infrastructure required to >> allow tracers to handle page faults. Modifying each tracer to handle >> those page faults would be a next step after we all agree on this piece >> of instrumentation infrastructure. > > I started taking a quick look at this, and came up with the question: how > do you allow preemption when dealing with per-cpu buffers or storage to > record the data? > > That is, perf, bpf and ftrace are all using some kind of per-cpu data, and > this is the reason for the need to disable preemption. What's the solution > that LTTng is using for this? I know it has a per cpu buffers too, but does > it have some kind of "per task" buffer that is being used to extract the > data that can fault? > > -- Steve >