Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp319427ybb; Thu, 19 Mar 2020 22:59:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vuYGdVGfCiNE1Z5UqBRRSH3zIaD3AAy2jabscjbzFaUKkgHzV4hc5rqMufQUUuhXi1Z0lhH X-Received: by 2002:aca:50d0:: with SMTP id e199mr5255979oib.133.1584683977319; Thu, 19 Mar 2020 22:59:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584683977; cv=none; d=google.com; s=arc-20160816; b=YKZDzVZaTsFt1HQAbJZVdES5WYH0GFvRm4CzFaiHuKbTGWFMMOlbEjAZJjvY79ILDv xQ0MYHPIhqDfwlr4iAftVwfSI5XjY65Mhp4RXzLzxDHRSVI0Xq/UMyvgfiQQazgFgMq5 V4xo/kOLwlVZ4VRhgkFjVeuBzxvZLzmrsW27ZMGJohb35bXDUPEY0R/RbyHFLPpmWNT7 JkTJ1F9KJnVZAr8XO+bb6kfzLv8S3XF8574Rw01JQM2b5VejjbIsFCopNt+XnnflL+5Q RoTl2D2QTR9v1KtMT7LCmv3m/Jb6Umr9sbH1sHeaKtLz5N/JfYwZVtZaoamM6kCQR5Rs ERpw== 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=WCXb5COBOSp7U5jTvqMISw1OOMK0iQ+UZw4Fd+B3gtg=; b=X/zejI00L6amMPL5E4sgNY9h/p9OLT+LFxeY+OhQdFL0vymjv8so901L2pgS39vlkK 4v+MO6wWm8fXNivW/BqJsr5U5/EURp8TXSKtShSNntq80sskpoxpPp2HnZLs6u3CdZsz T8iV/7RVcfaBdtsYnDIHgkDxtURlrmQL9a2U+YBfpMj057kKTWaDy93MVnplJ/wOBwCn GxiXvM9ImLBfdBPy/1r6GKiutas3NA25/QPp2e6oeTsfXyl7adVSE2ISs5FOxzXC2iJ6 SPDmQoiBSmAaGiw5WsfcQSzIw/0lRayz5BIQQp2ZMiefGnFwtagcD0vtHV/JABy35naV B3FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=unUNJCRm; 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 n7si2793035otf.266.2020.03.19.22.59.14; Thu, 19 Mar 2020 22:59:37 -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=unUNJCRm; 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 S1726773AbgCTF6o (ORCPT + 99 others); Fri, 20 Mar 2020 01:58:44 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:24142 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726030AbgCTF6n (ORCPT ); Fri, 20 Mar 2020 01:58:43 -0400 Received: from epcas1p4.samsung.com (unknown [182.195.41.48]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20200320055841epoutp0482df0bd591438f2fa446ca79d4a03dbc~97aF2oruK3063230632epoutp04Z for ; Fri, 20 Mar 2020 05:58:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20200320055841epoutp0482df0bd591438f2fa446ca79d4a03dbc~97aF2oruK3063230632epoutp04Z 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 2.13.7 X-Brightmail-Tracker: H4sIAAAAAAAAA01SfUhTURzt7m1vb9LiMbUukmUvEmZtbs7NZ2gESj1IaFHaF7oe7rGJ+2Jv M/ukKFaZZi4MFUsNSZMs2IZMqX8MmVCEpVkgGkiKStvQ1peWte0V9d85557fPYd7fxgi+SJI wSosDsZuoU0EmsDveyaVy+qPO8oUoTY12fr4IUo21EvJ695mQNaFF3jk6EArSk49/CUgh5bn +eSq+xy58q0V3S2i+lsmhVS7x0l5uzMoz5JbSA03rfCpG74eQHmfn6E+eTZRobYgqhUdM+UZ GVrP2NMYS7lVX2Ex5BP7DuoKdGqNQilT5pI5RJqFNjP5RGGRVranwhTtR6RV0SZnVNLSLEtk 7sqzW50OJs1oZR35BGPTm2xKhU3O0mbWaTHIy63mnUqFIksddZ4wGSMzYaFtml9dO7OCXgDT SA0QYRDPhg2TAbQGJGAS3A+g/+40nyNLAI7d/45w5AuAXa9fRU+w+Ig/coDTnwLo7V/kceQr gI0XG+P3ovh2GG53C2I4CTfCxuX3aAwjuBMGPw7HPYm4Bg7VdPJil/LxbfBpuCQmi/F82Dn1 ncdlbYYdv+IdIN6NwtszLShXuxB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3uGx/XgwRVCpkqli469ZXzF/1N3k2nN2g7dnalSu9meqOW4BiVFiFz9+kOgznpp7ya3TTVM b7ZyvprRJ30+tFem93QtZ/PTV/OnW2Qv/Hfnxof7p5feUHTOOlhwe9eEbx1ydsWfKydz/9q4 0iboarwSS3FGoqEWc1FxIgB80Pe2NAIAAA== X-CMS-MailID: 20200320055839epcas1p26174a6a8e868127a78d24ebd95680b76 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: 20200320055839epcas1p26174a6a8e868127a78d24ebd95680b76 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 | 48 +++++++++++++++++++++++++++++++++++++++++++++ mm/mmap.c | 28 ++++++++++++++++++++++++-- 3 files changed, 75 insertions(+), 22 deletions(-) create mode 100644 include/trace/events/mmap.h -- 2.13.7