From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC22EC43217 for ; Tue, 22 Nov 2022 10:23:07 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 72FAB6B0071; Tue, 22 Nov 2022 05:23:07 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6B8F06B0073; Tue, 22 Nov 2022 05:23:07 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5327E6B0074; Tue, 22 Nov 2022 05:23:07 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 3EA116B0071 for ; Tue, 22 Nov 2022 05:23:07 -0500 (EST) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id E1A361204BD for ; Tue, 22 Nov 2022 10:23:06 +0000 (UTC) X-FDA: 80160690372.14.A1FB9D1 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by imf26.hostedemail.com (Postfix) with ESMTP id 0E88414000E for ; Tue, 22 Nov 2022 10:23:05 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 651791F86C; Tue, 22 Nov 2022 10:23:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1669112584; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QHzV88qQP/OD/4XbS3raKu1Jt+MEZU4CjnRrN3yPtEs=; b=rCWypofxzC08J+ttVcdlgI0xmmleLlC5tk5vsGUjlSzNtLCT3Tn1ZXS/z4gf072vC1S39z cpVJbaKyhFt4+E3CroMOv7ngC1yv6SCMzDXS5wfpVYO2pbX+g2gNKf8ykb+auNPgIgaV8u usjIaYu35u0u5NDScJpxJPlsPqypCiA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1669112584; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=QHzV88qQP/OD/4XbS3raKu1Jt+MEZU4CjnRrN3yPtEs=; b=iZG6CcHouX7eeWgV41zznvLEzxgQhTvTAlPI1cUe5asgc+I0ltSPl8mWiYw5brHZYL7Hsv Qc2Fq/UE9FMVvVAw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2B6CE13B01; Tue, 22 Nov 2022 10:23:04 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 3xV9CQijfGOdWgAAMHmgww (envelope-from ); Tue, 22 Nov 2022 10:23:04 +0000 Message-ID: <0f8da54c-b442-e4ae-770c-4e9919bb7bfa@suse.cz> Date: Tue, 22 Nov 2022 11:23:03 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: Files in include/trace/events Content-Language: en-US To: Steven Rostedt Cc: Chuck Lever , Trond Myklebust , LKML , linux-nfs@vger.kernel.org, Andrew Morton , Masami Hiramatsu , "linux-mm@kvack.org" , Hyeonggon Yoo <42.hyeyoo@gmail.com>, Matthew Wilcox , Michal Hocko References: <20221112072742.065df70a@rorschach.local.home> <20221112073305.0346b827@rorschach.local.home> From: Vlastimil Babka In-Reply-To: <20221112073305.0346b827@rorschach.local.home> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1669112586; a=rsa-sha256; cv=none; b=4LKGNoveTUaujB9i+9uM+XLRFM12joCs/6x8kqT0t6NhYNn7s42vUG7YSSD9I0WXftcq2b vzcNjYqqOZGeOpN8spRG0G7tIGhal/XsJLXcWgo55uHz2tYJNuVFXHvZAnOO/uIaLstj/p u7U0NuTvUCFd+7ca+/57JbhZzafKvWY= ARC-Authentication-Results: i=1; imf26.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=rCWypofx; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=iZG6CcHo; dmarc=none; spf=pass (imf26.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=vbabka@suse.cz ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1669112586; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=QHzV88qQP/OD/4XbS3raKu1Jt+MEZU4CjnRrN3yPtEs=; b=UkIpURoLCUyHMTVh9qIcMFe3jB8+7B/Oy0CQhiiCtqkgpjy+5PXlTrLW6QIyHeRY++TJ2i rLEDfR4d9kxSoYwtgvjoe+jk2OUrbdrxoJJuZnZWXjOq9oHpeffyMiqs1cy3k/V15z1rXP 4SNCezuuy5g7wZUfeykz8bUzAVlgqx0= X-Rspamd-Server: rspam12 X-Rspamd-Queue-Id: 0E88414000E X-Rspam-User: Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=rCWypofx; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b=iZG6CcHo; dmarc=none; spf=pass (imf26.hostedemail.com: domain of vbabka@suse.cz designates 195.135.220.29 as permitted sender) smtp.mailfrom=vbabka@suse.cz X-Stat-Signature: 4qeiieqyqqwz7oag7q5mq98yssy1fdhx X-HE-Tag: 1669112585-292194 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 11/12/22 13:33, Steven Rostedt wrote: > On Sat, 12 Nov 2022 07:27:42 -0500 > Steven Rostedt wrote: > >> Hi Chuck, >> >> I was just looking over some files in include/trace/events/ and noticed >> that there's sunrpc_base.h, fs.h and nfs.h that are not event files. >> >> The include/trace/events/ directory should only hold files that are to >> create events, not headers that hold helper functions. >> >> Can you please move them out of include/trace/events/ as that directory >> is "special" in the creation of events. >> >> Perhaps we could create a new directory include/linux/trace/ or >> include/trace/linux/ specific for these types of files? >> > > Hi Vlastimil, > > I also noticed that mmflags.h is in that directory too. > > I'd like to keep only headers defining TRACE_EVENT() in that directory, > as files there have special meaning. I guess we could move that one to e.g. mm/mmflags.h as it's used also outside of trace events anyway (mm/debug.c), but it's not something to expose to general use in include/ But most includes are from proper include/trace/events/*.h headers so dunno, maybe include/trace//mmflags.h would be more appropriate. > Thanks, > > -- Steve