From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7FCC41DFE38; Mon, 28 Oct 2024 19:14:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=167.114.26.122 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730142897; cv=none; b=rvba/WZrZm9PVdWIiNzBlyrrs0QlfbPLBXG9vk4QVRXajY1WVS69BZkd8YsR7aGLp6iChpJaSOhK+YtFgRwyvYAN9x+Y8EhvPghEg9yB3OE82hsnEVj5hnK4ITZgYK8TOjsSC09hOgrTJCV6wRBqwvsB015TWqhUFzBK5qwUQfM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730142897; c=relaxed/simple; bh=s7UyspYJHM14ize/5+NLAwwvR13xjZPO/vTGdLHIfLU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=RtUr0UNTGJqfDVB0cp4Mf6B62MmWr5/ajaIPSz+QP19kpXxB7DZs5UkgLQR+uZ8to09U+D4UknCUpzeHg2OYlAoVWWsficzy1f9D8XlYp98ODDD5sX5dRszIdwPspeK0KipOX3kh146TiAJne4hV8jLgkqg/kE7zBtkVZLhnmUM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com; spf=pass smtp.mailfrom=efficios.com; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b=QsG5Yc3u; arc=none smtp.client-ip=167.114.26.122 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=efficios.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=efficios.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=efficios.com header.i=@efficios.com header.b="QsG5Yc3u" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1730142894; bh=s7UyspYJHM14ize/5+NLAwwvR13xjZPO/vTGdLHIfLU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=QsG5Yc3u47LdcgAl7d51rnCe8y78Mc1kJm1FpovTEu1DgXho0vyZjYUvbPr15kCAw r8aZHCA5QzS/RFtY1FMCl/08F0TOwt2yu0Y4TQPR6VJJ0S+sV/AxF0H/vt7m+c1H0Y 9BUphivOqtBAKR2fkoKVima1wdc7U2yiFMtYC7b5Z5sTrfYb239C0LVh4emBmxQkFn 0bQr1XESYbmRplRe3141PIZZkFEl4wkXdwcDVPrq5imWWQQMP5/NP81Rchrxp8OpJy 6yZqeMpX4a3mAZPdT3HTp20y8MSFIW+s3yNtVfyY/vQ3K7EEVg8iY9/wYx1HRS3MoD PPX+jvcKyfDFg== Received: from [172.16.0.134] (96-127-217-162.qc.cable.ebox.net [96.127.217.162]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4Xcjkk1yskzsCQ; Mon, 28 Oct 2024 15:14:54 -0400 (EDT) Message-ID: Date: Mon, 28 Oct 2024 15:13:15 -0400 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH v3 1/3] tracing: Introduce tracepoint extended structure To: Andrii Nakryiko Cc: Steven Rostedt , linux-kernel@vger.kernel.org, Michael Jeanson , Masami Hiramatsu , Peter Zijlstra , Alexei Starovoitov , Yonghong Song , "Paul E . McKenney" , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Namhyung Kim , bpf@vger.kernel.org, Joel Fernandes , Jordan Rife References: <20241026154629.593041-1-mathieu.desnoyers@efficios.com> From: Mathieu Desnoyers Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 2024-10-27 21:22, Andrii Nakryiko wrote: >> -#define DEFINE_TRACE(name, proto, args) \ >> - DEFINE_TRACE_FN(name, NULL, NULL, PARAMS(proto), PARAMS(args)); >> +#define DEFINE_TRACE_FN(_name, _reg, _unreg, _proto, _args) \ >> + struct tracepoint_ext __tracepoint_ext_##_name = { \ > > can be static, no? Yes, sorry, I'll update the series for a v5. Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com