Received: by 10.223.185.116 with SMTP id b49csp1066348wrg; Sat, 3 Mar 2018 14:35:10 -0800 (PST) X-Google-Smtp-Source: AG47ELvX1oTV5gq0BEJa/VSytl9u85O89lfUW2ckMYPXKNyUEbKgDM6guK1AuEyIPktLwHJHZiX7 X-Received: by 10.99.123.92 with SMTP id k28mr8314362pgn.167.1520116510429; Sat, 03 Mar 2018 14:35:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520116510; cv=none; d=google.com; s=arc-20160816; b=Y/v7nU9wpNb715i1l3xGwzIfT0SXyeibrVOW7P+1qTrHph3dQ4Ibfb5uUdVxyjCeCI 9FBO48x/XoChndk7vtVrWjiEu+PWEuMrOejLizrPeRGol5fFSPxDzuqyM/mvAmawF1Zk /JV/ulkawP+kEIQfN60SciC8ieaZ7tY4V9tQ6jH5NHZiyU9kDw1EZLf70chlLjcK+5ca hwQLl88R2cs8ZtpcjXI8UcPZ6Q9f+3lbnuQqdninc/KMJMWGuHvkwHSRJOSy5qsmf1zk /SdPIKObbebKpOHyq5oCLOQlUgcRU2dSppMU2nJ9S3zURIShCbfvxnce9xja+nG9QbeU ESWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=TpJRWHtP/jfcugUdnnygLyKLXWIUekCRsUxRXY2vfLo=; b=cbL9VAufc5LI6vITKk/nCyit9NC+f0Z0jkB8bJuDYMjP9QxybYsccT68/o42mucHt1 p7BJJGU1CHpcvtp556O3KUyBBQ/zy6ovJ/1idAduq6QV/Jr7CQBUXU6577kXVE2QyuXm 381Ifbcg8cUI9hy1+FzJTko4gENTmdB5E70RshtYkjtnFQ3JnvPQHvhcL/zUw18ArRgW epEuDqVjeiTmqDhqDoNMfCS2zO4crlHMEJyZsmiIvW75FfDRkP/ebhf7SCmYAtpHWmQN Rwlh6I3ndjRYUj8EcdDTZUDo6C3Msmpe0qBPaBzFFsSHmfrUMjFrfWd1uUlVT3FKZQPj Jt6A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector1 header.b=mB/xX+lb; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g11si7402799pfd.272.2018.03.03.14.34.56; Sat, 03 Mar 2018 14:35:10 -0800 (PST) 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=@microsoft.com header.s=selector1 header.b=mB/xX+lb; 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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934049AbeCCWd1 (ORCPT + 99 others); Sat, 3 Mar 2018 17:33:27 -0500 Received: from mail-by2nam01on0107.outbound.protection.outlook.com ([104.47.34.107]:9794 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S933993AbeCCWdS (ORCPT ); Sat, 3 Mar 2018 17:33:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TpJRWHtP/jfcugUdnnygLyKLXWIUekCRsUxRXY2vfLo=; b=mB/xX+lbj0ng8yKjW/4shC45c0amDjSu/gd0FkUHfzD/LHN5LCUmB5NFTnHsGkZ9vSP+qSpRaVluhYJgxLuVKfjqnvlT3uzzysIV0eYLg7TOE5YWba0C/Of5SSCW3/2OpPJMPr6rKCynKysMm9llrrhegGNA8anCSsQ951DHJII= Received: from MW2PR2101MB1034.namprd21.prod.outlook.com (52.132.149.10) by MW2PR2101MB1097.namprd21.prod.outlook.com (52.132.149.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Sat, 3 Mar 2018 22:33:10 +0000 Received: from MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0]) by MW2PR2101MB1034.namprd21.prod.outlook.com ([fe80::1d56:338f:e2b:cec0%3]) with mapi id 15.20.0567.006; Sat, 3 Mar 2018 22:33:10 +0000 From: Sasha Levin To: "linux-kernel@vger.kernel.org" , "stable@vger.kernel.org" CC: Arnaldo Carvalho de Melo , Adrian Hunter , David Ahern , Jiri Olsa , =?utf-8?B?THVpcyBDbGF1ZGlvIEdvbsOnYWx2ZXM=?= , Namhyung Kim , Wang Nan , Sasha Levin Subject: [PATCH AUTOSEL for 4.9 084/219] perf trace: Handle unpaired raw_syscalls:sys_exit event Thread-Topic: [PATCH AUTOSEL for 4.9 084/219] perf trace: Handle unpaired raw_syscalls:sys_exit event Thread-Index: AQHTsz79VfgfdG197EiZk2lD1yKfVw== Date: Sat, 3 Mar 2018 22:28:44 +0000 Message-ID: <20180303222716.26640-84-alexander.levin@microsoft.com> References: <20180303222716.26640-1-alexander.levin@microsoft.com> In-Reply-To: <20180303222716.26640-1-alexander.levin@microsoft.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [52.168.54.252] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;MW2PR2101MB1097;7:YJOZl9qKas92tR6PmbrwZP5gY3GAZPSAeiGWzqqoLGUi4j0lqR+PAhoii+CZh/e9OsnqwqR4gPRTmeLx0/v7VbhCPUPkuZkSresI0WiAZgm0CL+gIJnGiJzcP0FqfWUMFJ2gI9wR3M0lLlgYRu7Yb8dpevPh4Tso5UaVinNT7rCNwkYl91+WwaFVzuqxlBVG8XtggQiwa11ViPkV+BhtbVptvH9NqBKnhlHDr9EVnguO5+3MvuO1oOMhO9+GBSs4 x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 49000cfb-761c-405c-a967-08d58156be61 x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020);SRVR:MW2PR2101MB1097; x-ms-traffictypediagnostic: MW2PR2101MB1097: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Alexander.Levin@microsoft.com; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(28532068793085)(89211679590171)(50582790962513)(85827821059158)(42068640409301)(84791874153150)(228905959029699); x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(10201501046)(3002001)(3231220)(944501244)(52105095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041288)(20161123560045)(20161123558120)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011);SRVR:MW2PR2101MB1097;BCL:0;PCL:0;RULEID:;SRVR:MW2PR2101MB1097; x-forefront-prvs: 0600F93FE1 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(366004)(39380400002)(396003)(39860400002)(346002)(189003)(199004)(305945005)(105586002)(36756003)(3660700001)(86362001)(6666003)(66066001)(2900100001)(5660300001)(8676002)(10090500001)(81166006)(81156014)(8936002)(22452003)(10290500003)(2950100002)(39060400002)(4326008)(25786009)(5250100002)(2501003)(68736007)(7736002)(72206003)(14454004)(966005)(478600001)(186003)(110136005)(26005)(316002)(2906002)(6306002)(97736004)(6512007)(99286004)(107886003)(54906003)(1076002)(6506007)(106356001)(53936002)(59450400001)(6116002)(3846002)(102836004)(6486002)(86612001)(3280700002)(6436002)(76176011)(22906009)(217873001);DIR:OUT;SFP:1102;SCL:1;SRVR:MW2PR2101MB1097;H:MW2PR2101MB1034.namprd21.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: ma99oOSaHc7qmBr2KMrGBdwda+aC8/KjEJkDHCUKDDjj/swkOA4LAY+vCSfos5OLG+m4lBIJBJQvEXnoZWMw541Fl1GgVO6xdfLCKNh/brUy1lE8jgWFqQL/HUCciTvmjSbntxu0bFrZOVEGi+t425MV3HE0eYKXTtX6UsvsIk4= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <8D60EBAC4F7B074F9BA59F5568909A32@namprd21.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-Network-Message-Id: 49000cfb-761c-405c-a967-08d58156be61 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2018 22:28:44.7913 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB1097 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogQXJuYWxkbyBDYXJ2YWxobyBkZSBNZWxvIDxhY21lQHJlZGhhdC5jb20+DQoNClsgVXBz dHJlYW0gY29tbWl0IGZkMmIyOTc1MTQ5ZjVmNzA5OTY5MzAyN2NlY2U4MWIxNjg0Mjk2NGEgXQ0K DQpXaGljaCBtYXkgaGFwcGVuIHdo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