From patchwork Fri Mar 20 05:58:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 11448445 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 722FC139A for ; Fri, 20 Mar 2020 05:58:52 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 3F50D2072D for ; Fri, 20 Mar 2020 05:58:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="unUNJCRm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3F50D2072D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id B787B6B0007; Fri, 20 Mar 2020 01:58:46 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B2AAD6B0008; Fri, 20 Mar 2020 01:58:46 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9F44F6B000C; Fri, 20 Mar 2020 01:58:46 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0047.hostedemail.com [216.40.44.47]) by kanga.kvack.org (Postfix) with ESMTP id 62B4E6B0007 for ; Fri, 20 Mar 2020 01:58:46 -0400 (EDT) Received: from smtpin07.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 71679180AD815 for ; Fri, 20 Mar 2020 05:58:46 +0000 (UTC) X-FDA: 76614686652.07.wheel55_869db96024253 X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,jaewon31.kim@samsung.com,,RULES_HIT:30012:30054:30070,0,RBL:203.254.224.25:@samsung.com:.lbl8.mailshell.net-62.18.1.2 64.10.201.10,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:214,LUA_SUMMARY:none X-HE-Tag: wheel55_869db96024253 X-Filterd-Recvd-Size: 6014 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) by imf29.hostedemail.com (Postfix) with ESMTP for ; Fri, 20 Mar 2020 05:58:44 +0000 (UTC) Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200320055841epoutp02386f83c65e035371e776692e54f0ec0c~97aFtAuCl2599825998epoutp02X for ; Fri, 20 Mar 2020 05:58:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200320055841epoutp02386f83c65e035371e776692e54f0ec0c~97aFtAuCl2599825998epoutp02X DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1584683921; bh=WCXb5COBOSp7U5jTvqMISw1OOMK0iQ+UZw4Fd+B3gtg=; h=From:To:Cc:Subject:Date:References:From; b=unUNJCRmFo25acYce4YgUSFW2XFHnHd7i06FtXD2oLpYmCk3/BO+YfjouLSrC9zxf 43t98n6YuSq9R0xbF5dgmwWwohXuoMJSyBT1+se5ZqOx2fRu+6ABmFEuySdrS9LGem YM+yErweRXx5dJyGfJPy7yqzo+ZWP1tDxqJ9A8gY= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas1p1.samsung.com (KnoxPortal) with ESMTP id 20200320055840epcas1p14ffd56d03fe6a15fc3a504cb64b4834a~97aEz0bAX3070730707epcas1p1P; Fri, 20 Mar 2020 05:58:40 +0000 (GMT) Received: from epsmges1p4.samsung.com (unknown [182.195.40.166]) by epsnrtp3.localdomain (Postfix) with ESMTP id 48kCkl6qbKzMqYkY; Fri, 20 Mar 2020 05:58:39 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p4.samsung.com (Symantec Messaging Gateway) with SMTP id 33.32.04160.F8B547E5; Fri, 20 Mar 2020 14:58:39 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p2.samsung.com (KnoxPortal) with ESMTPA id 20200320055839epcas1p26174a6a8e868127a78d24ebd95680b76~97aDhbeIo2353423534epcas1p2i; Fri, 20 Mar 2020 05:58:39 +0000 (GMT) Received: from epsmgms1p2new.samsung.com (unknown [182.195.42.42]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200320055839epsmtrp12ab1a4f9b5b952f3f137fe182146bae7~97aDffy8Y2595725957epsmtrp1Y; Fri, 20 Mar 2020 05:58:39 +0000 (GMT) X-AuditID: b6c32a38-297ff70000001040-3b-5e745b8ffea3 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p2new.samsung.com (Symantec Messaging Gateway) with SMTP id C3.06.04158.F8B547E5; Fri, 20 Mar 2020 14:58:39 +0900 (KST) Received: from jaewon-linux.10.32.193.11 (unknown [10.253.104.82]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200320055838epsmtip10bfd4d8a9586235d6c7f8ec13b0a959c~97aDVKJfz1022510225epsmtip1O; Fri, 20 Mar 2020 05:58:38 +0000 (GMT) From: Jaewon Kim To: willy@infradead.org, walken@google.com, bp@suse.de, akpm@linux-foundation.org, srostedt@vmware.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, jaewon31.kim@gmail.com, Jaewon Kim Subject: [PATCH v3 0/2] mm: mmap: add mmap trace point Date: Fri, 20 Mar 2020 14:58:21 +0900 Message-Id: <20200320055823.27089-1-jaewon31.kim@samsung.com> X-Mailer: git-send-email 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SX4rJFWZiB2lv4NQ4bH 7IkDAAA= X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrILMWRmVeSWpSXmKPExsWy7bCSnG5/dEmcwbsLzBZz1q9hs5jYr2nR vXkmo0Xv+1dMFpd3zWGzuLfmP6vF0V8vWSz+Taq1+P1jDpsDp8fOWXfZPRZsKvXYvELLY9On SeweJ2b8ZvHo27KK0WPz6WqPz5vkPN7Nf8sWwBnFZZOSmpNZllqkb5fAlfHl6Xv2gkcsFT1P f7M1MD5i7mLk4JAQMJHY8SWwi5GLQ0hgN6NE849tTF2MnEBxGYk355+yQNQISxw+XAxR85VR 4tWtG6wgNWwC2hLvF0wCs0UE8iRaNj0Es5kFKiX+3b4FZgsLmEkc7VrCBDKHRUBVYu/7MJAw r4CtxJJ7P5kgxstLLPzPPIGRZwEjwypGydSC4tz03GLDAqO81HK94sTc4tK8dL3k/NxNjOCA 09LawXjiRPwhRgEORiUeXoeW4jgh1sSy4srcQ4wSHMxKIry66UAh3pTEyqrUovz4otKc1OJD jNIcLErivPL5xyKFBNITS1KzU1MLUotgskwcnFINjJqlvxs/7dfq/VZjc7485Xzzkln7Z/2b U3uGx/XgwRVCpkqli469ZXzF/1N3k2nN2g7dnalSu9meqOW4BiVFiFz9+kOgznpp7ya3TTVM b7ZyvprRJ30+tFem93QtZ/PTV/OnW2Qv/Hfnxof7p5feUHTOOlhwe9eEbx1ydsWfKydz/9q4 0iboarwSS3FGoqEWc1FxIgB80Pe2NAIAAA== X-CMS-MailID: 20200320055839epcas1p26174a6a8e868127a78d24ebd95680b76 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200320055839epcas1p26174a6a8e868127a78d24ebd95680b76 References: 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: Create mmap trace file and add trace point of vm_unmapped_area. To include mmap trace, remove inline of vm_unmapped_area and move code to mmap.c. There is no logical change. Jaewon Kim (2): mmap: remove inline of vm_unmapped_area mm: mmap: add trace point of vm_unmapped_area include/linux/mm.h | 21 +------------------- include/trace/events/mmap.h | 48 +++++++++++++++++++++++++++++++++++++++++++++ mm/mmap.c | 28 ++++++++++++++++++++++++-- 3 files changed, 75 insertions(+), 22 deletions(-) create mode 100644 include/trace/events/mmap.h