Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp1147321ybh; Thu, 12 Mar 2020 18:16:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvCSPxZpaeCKJsS8yUkZ3hWUW4EBbuQB4+p+qXfop7vmmUbdWI2Q+neoKP+bY/kspkEdZU0 X-Received: by 2002:a05:6830:19c7:: with SMTP id p7mr9341677otp.79.1584062175027; Thu, 12 Mar 2020 18:16:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584062175; cv=none; d=google.com; s=arc-20160816; b=ootBb0sD4uISqypY002phplBQ8/3rbYqZmC2yDbnJ8tKHV+28UzAHSB2Q0c8W0+deG KvXDP792dlyHmdoFMs4hoRO72KqUBsw04D2hzWdbIH4FWwSbBvk5vxxpfZ5tW9nbLLAB KUVwOMdyLIWAmXQthT6KGVVVupDjuNrtm7MDaXsgfTPHaoVJTpbVUMwOCmNbd6q3j5pO wx/JeSj9FwpcYXb6VD9e7E7zt53ZWVZFJxLyvUEH+ENL13VHhWKwFdxOEdJN7+0Kb6Z/ +1J0Eq76JhyvSFKqt74FW8NW4acaykUurn1jHrWwnHeqtOwmv0plY11RvqMQ1EMKKQwn nIWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=/uwl5QYkVSHq8zDuzWq+Dxmu9/F2EF6FVR+WiMze73s=; b=Vvn9maehs5rwzIpXpTSJuR5GtovainMhm959NXw92HnpjdZL2zpNL0GyIt4etJKMD6 utS4bfEOhd/lEA/bAUQrR0YnbQVjqIYwdDA0IQVvPHW38oIzGogj38sxX6KmxGHwwoKQ J02XlMnQ/921R8BhRJTusJrGiurw3D+uXTN19l12AmPVlDTXvXPdy76aa8SFatC67HSA q6qO3y48RKlbo7g9MkbwCTRbfId5H1tXkJ6+TEloMEO97QSbBj2ScssqI2I1I8/82HLR ZyGb4InovU6bzNw31Jb5d6A+47lWqkY7AAOvp4kFRdmYUWkiL9Pjmg1x8sYBPzKaqu3J XfpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=TDVxQbfr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o25si3902077otk.28.2020.03.12.18.16.03; Thu, 12 Mar 2020 18:16:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=TDVxQbfr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727077AbgCMBOf (ORCPT + 99 others); Thu, 12 Mar 2020 21:14:35 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:40520 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726872AbgCMBOe (ORCPT ); Thu, 12 Mar 2020 21:14:34 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20200313011432epoutp017746af518d3c2d15c5ca2b62c3f86f9d~7uA-4u2iU2318123181epoutp01e for ; Fri, 13 Mar 2020 01:14:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20200313011432epoutp017746af518d3c2d15c5ca2b62c3f86f9d~7uA-4u2iU2318123181epoutp01e 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-Mailer: git-send-email 2.13.7 X-Brightmail-Tracker: H4sIAAAAAAAAA01SfUhTcRTl59veXtbqsUov60N9Uaalbs3NVzgRlHhkkGEQCTkf+pjavtrb KotCSSRKbWpU5opV2IcZ2aai5iqMmhVEIEFkRpEt/JqkWYGkbb6k/jvncM793Xt/l8Bkw2I5 UWyycVYTa6DwcFHHk7jEhMMfSvIUXVeX0c57LThdezaOPuNpQHT1xEgY3d/txOkPLXNierbu OD3zy4mnE0zXpUEJ43LbGc+teMY9WSdh+i7OiJiatmbEeF4eY6bca7OJXENqEccWctZozlRg Liw26bVUVo4uQ6fWKJQJyq10ChVtYo2clsrcmZ2wvdgQ7IqKPsQa7EEpm+V5Kikt1Wq227jo IjNv01KcpdBgUSosiTxr5O0mfWKB2bhNqVBsUQed+YYir3eVZUB05M7wM0kZGsBOI4IAMhlc j+A0CidkZCeCRl+PSCCTCEYfViOB/EAw+XEUX0j8vGkXdC+C8+MBiUB+IvA9bA/GFxE4uQkm XHXiUGAFmQOfG/CQjJF2GB/rw0J4OamB552t83YRuR5ufK4NC2EpqYWmsSYkvBUFV+ewUHkg nTiccbTMe4DMhOlz3//i5TDia5MIWA5TAS8uBE4iGG/wII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JGb5qKT5289qf5kUh4zdklcvMZmGybdq2uOn5quejzjDwX 84/TT7ItuzKhovlohuDy2TvrU4WXXe7sr2Pc+Srucf1Ga2t9RXOZNwfm/gwrsjm37pESS3FG oqEWc1FxIgDrFCZ8KQIAAA== X-CMS-MailID: 20200313011430epcas1p423b939dea080fda77a2e0fe3f6531489 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200313011430epcas1p423b939dea080fda77a2e0fe3f6531489 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 -- 2.13.7