From patchwork Fri Mar 13 01:14:18 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaewon Kim X-Patchwork-Id: 11435789 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 615F26CA for ; Fri, 13 Mar 2020 01:14:40 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 24D8E205F4 for ; Fri, 13 Mar 2020 01:14:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="TDVxQbfr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 24D8E205F4 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 B9EAF6B0008; Thu, 12 Mar 2020 21:14:37 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id B4CAE6B000C; Thu, 12 Mar 2020 21:14:37 -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 9F7966B000A; Thu, 12 Mar 2020 21:14:37 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0025.hostedemail.com [216.40.44.25]) by kanga.kvack.org (Postfix) with ESMTP id 6B1BE6B0007 for ; Thu, 12 Mar 2020 21:14:37 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay05.hostedemail.com (Postfix) with ESMTP id 21DE8181AEF32 for ; Fri, 13 Mar 2020 01:14:37 +0000 (UTC) X-FDA: 76588568994.30.burst84_b143c8973a16 X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,jaewon31.kim@samsung.com,,RULES_HIT:30012:30054:30070,0,RBL:203.254.224.24:@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:23,LUA_SUMMARY:none X-HE-Tag: burst84_b143c8973a16 X-Filterd-Recvd-Size: 5959 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by imf01.hostedemail.com (Postfix) with ESMTP for ; Fri, 13 Mar 2020 01:14:36 +0000 (UTC) Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200313011432epoutp0165fa7da047fc0ff0e8b38c167ebfb886~7uA-up4It2453724537epoutp01F for ; Fri, 13 Mar 2020 01:14:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200313011432epoutp0165fa7da047fc0ff0e8b38c167ebfb886~7uA-up4It2453724537epoutp01F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1584062072; bh=/uwl5QYkVSHq8zDuzWq+Dxmu9/F2EF6FVR+WiMze73s=; h=From:To:Cc:Subject:Date:References:From; b=TDVxQbfraXD7y8ghKj8Dbfg/Q9mDP0iTgj0d57nYYYyEEhQvRwJ4y7H7EXaGvcKlt dE90aCdgRkbTvDstmeGUR3B99frQB+ZBAAK03z6kr4Yi26F31M9Kuec6DagJN03XEi hNbqCmrmw3Rbyhe7NsKw1kOc8qovw5IvUHwZLE/I= Received: from epsnrtp4.localdomain (unknown [182.195.42.165]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200313011431epcas1p48b23cca7c80f68a26bdce19f413b44f0~7uA-KawiY1492014920epcas1p4n; Fri, 13 Mar 2020 01:14:31 +0000 (GMT) Received: from epsmges1p3.samsung.com (unknown [182.195.40.165]) by epsnrtp4.localdomain (Postfix) with ESMTP id 48dnm72VqvzMqYkZ; Fri, 13 Mar 2020 01:14:31 +0000 (GMT) Received: from epcas1p2.samsung.com ( [182.195.41.46]) by epsmges1p3.samsung.com (Symantec Messaging Gateway) with SMTP id F1.40.52419.77EDA6E5; Fri, 13 Mar 2020 10:14:31 +0900 (KST) Received: from epsmtrp2.samsung.com (unknown [182.195.40.14]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20200313011430epcas1p423b939dea080fda77a2e0fe3f6531489~7uA90qoSq0946109461epcas1p4l; Fri, 13 Mar 2020 01:14:30 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp2.samsung.com (KnoxPortal) with ESMTP id 20200313011430epsmtrp20ed3e52337c04466f201a3d9a4384dd9~7uA9z8jKU2991729917epsmtrp2A; Fri, 13 Mar 2020 01:14:30 +0000 (GMT) X-AuditID: b6c32a37-5b7ff7000001ccc3-8e-5e6ade7729f6 Received: from epsmtip2.samsung.com ( [182.195.34.31]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 0C.67.06963.67EDA6E5; Fri, 13 Mar 2020 10:14:30 +0900 (KST) Received: from jaewon-linux.10.32.193.11 (unknown [10.253.104.82]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20200313011430epsmtip2636097b44781ec64cceef7a3220452a4~7uA9pPI9I1861118611epsmtip2H; Fri, 13 Mar 2020 01:14:30 +0000 (GMT) From: Jaewon Kim To: willy@infradead.org, walken@google.com, bp@suse.de, akpm@linux-foundation.org Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, jaewon31.kim@gmail.com, Jaewon Kim Subject: [PATCH v2 0/2] mm: mmap: add mmap trace point Date: Fri, 13 Mar 2020 10:14:18 +0900 Message-Id: <20200313011420.15995-1-jaewon31.kim@samsung.com> X-Mail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GU8ZuXZP8Jd4oV8AwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprGLMWRmVeSWpSXmKPExsWy7bCSvG7Zvaw4gyNtkhZz1q9hs5jYr2nR vXkmo0Xv+1dMFpd3zWGzuLfmP6vFv0m1Fr9/zGFz4PDYOesuu8eCTaUem1doeWz6NInd48SM 3ywefVtWMXpsPl3t8XmTXABHFJdNSmpOZllqkb5dAlfG3r3SBbdZKla/PMbewHibuYuRg0NC wETi+/LSLkYuDiGB3YwS964fYOti5ASKy0i8Of+UBaJGWOLw4WKImq+MEp3dZ8Bq2AS0Jd4v mMQKUiMiEC4xdXsFSJhZoFLi3+1brCC2sICZxMkdG1hAbBYBVYlljycygdi8ArYSS98sZYQY Ly+x8D/zBEaeBYwMqxglUwuKc9Nziw0LDPNSy/WKE3OLS/PS9ZLzczcxgkNLS3MH4+Ul8YcY BTgYlXh4DcSy4oRYE8uKK3MPMUpwMCuJ8MbLp8cJ8aYkVlalFuXHF5XmpBYfYpTmYFES532a dyxSSCA9sSQ1OzW1ILUIJsvEwSnVwDjtgeeumvl8x99tCznaX3dSp2/7vLbV77us6oV+dlqk rGf7LKTkUDl7hqyburPEJC6pd7JGb5qKT5289qf5kUh4zdklcvMZmGybdq2uOn5quejzjDwX 84/TT7ItuzKhovlohuDy2TvrU4WXXe7sr2Pc+Srucf1Ga2t9RXOZNwfm/gwrsjm37pESS3FG oqEWc1FxIgDrFCZ8KQIAAA== X-CMS-MailID: 20200313011430epcas1p423b939dea080fda77a2e0fe3f6531489 X-Msg-Generator: CA X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200313011430epcas1p423b939dea080fda77a2e0fe3f6531489 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 | 52 +++++++++++++++++++++++++++++++++++++++++++++ mm/mmap.c | 24 +++++++++++++++++++++ 3 files changed, 77 insertions(+), 20 deletions(-) create mode 100644 include/trace/events/mmap.h