Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2336818yba; Fri, 17 May 2019 15:12:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqxqEbEYUMP+o/2oXdjgYtbPJPZXp7x8Z+xQKuMpuietoCBnw5smViyUZ4PJjX7DzAip/4i8 X-Received: by 2002:a62:62c3:: with SMTP id w186mr62065677pfb.73.1558131164010; Fri, 17 May 2019 15:12:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558131164; cv=none; d=google.com; s=arc-20160816; b=jRw972Mucao+DmMNXeXCvIbvLaBAnBZ9sll37ZAiPJ+G9HWcsl4mYaZnqJuyylz55W q2I6Q8KZ1ipuYk8lkLpHMBnc9nk5MrTxJdjmXAKzM2nNOzkrV2KzXQeDYiqgE+tbYKSr T5eEttAU0gK4TUPXSbBCgr6vldiN4yZX9PLlvs6Q0gxqO6B9ghJpKs5W9cMIR7gXPdH7 7PlJgeNyd+LlBjBTaz4Qlr/JIkooShemdC3Zj4xZ33Zhzf65nSL88NRmW/K5ILBgXqx5 At+yGd2hMoOTaWuHmve5zSlAW0a+8UNsk/zdmXiNCoKHupKy0lZa3mgLnf21vm6XUKEl BmSg== 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:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature:dkim-signature; bh=FlwZ3sRPJ1dyvs8MriW9y1iV5UtA2SyO5TtrtnNucHg=; b=uaS1Rbdrl4dqeB8Hw4wd4Uc4W/7DifrXA5wQoLfg8fAbWSDXf0X2GP9hxMxy112JBH bxXlQI5vaJ5sijeeHOwfOgAtwZHTIWPx/w6k05T9rAwz9hsgaqsQz4xTGDbSqATjaPBD gJs1ijSHQvBeIB43+Y/HoqoxxK/EIkYNtSB6pVTYsy5pZW9kEijqoB7L08QZ5CB6BRr+ LaF+jlA3iQMgQ+yT34chYox4762PD//Jw2imtDUjhva6CpcoknUERWAYnN02ILTx7t4G KxtaLFpXqkvdkUZjX4gzU8BEZD9vwXvbzVbiOuoKahB2DwSUkX5s/Wb4rlgcTff9IeiA ATFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fb.com header.s=facebook header.b=SwW0DRhm; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=egvKsdO1; 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=fb.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b13si5470488pgg.389.2019.05.17.15.12.28; Fri, 17 May 2019 15:12:43 -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=@fb.com header.s=facebook header.b=SwW0DRhm; dkim=pass header.i=@fb.onmicrosoft.com header.s=selector1-fb-onmicrosoft-com header.b=egvKsdO1; 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=fb.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729506AbfEQVHF (ORCPT + 99 others); Fri, 17 May 2019 17:07:05 -0400 Received: from mx0a-00082601.pphosted.com ([67.231.145.42]:56134 "EHLO mx0a-00082601.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727001AbfEQVHF (ORCPT ); Fri, 17 May 2019 17:07:05 -0400 Received: from pps.filterd (m0109334.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x4HKvcoT014951; Fri, 17 May 2019 14:06:36 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=facebook; bh=FlwZ3sRPJ1dyvs8MriW9y1iV5UtA2SyO5TtrtnNucHg=; b=SwW0DRhmUxN85tH9ZXJpcj0k4WAfbe8DaRKafndy9CKyIfpm0WPg7uTFwJEUrsuz8yrv nEsigA6lsqn2AOyF0zJuxc97ijhtd8oi8ARU2qWKhd+sLPU0q27b3SkTKnWp48pcNCX5 22dU9KO0yjBCl9yMFKU5FnS/iGaEmcqkS/I= Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com with ESMTP id 2sj0k70vrd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Fri, 17 May 2019 14:06:36 -0700 Received: from ash-exhub101.TheFacebook.com (2620:10d:c0a8:82::e) by ash-exhub203.TheFacebook.com (2620:10d:c0a8:83::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 17 May 2019 14:06:28 -0700 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (100.104.31.183) by o365-in.thefacebook.com (100.104.35.173) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 17 May 2019 14:06:28 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fb.onmicrosoft.com; s=selector1-fb-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FlwZ3sRPJ1dyvs8MriW9y1iV5UtA2SyO5TtrtnNucHg=; b=egvKsdO19NmoQsFgWvElLCwckEZedHk61Q7nj7fmwGdcOP9B2qKncYM/rMEZUfP3nml+PRHb9HU1HJR21M0rJyWK097ywuCiSZI5IEhmKxPl2HPLGFmx2gsH6NAf255y0ADMQic/xA5HI66UwU7fI2OqKu32cPG8lYlXtx9PJhk= Received: from BYAPR15MB2501.namprd15.prod.outlook.com (52.135.196.11) by BYAPR15MB2277.namprd15.prod.outlook.com (52.135.197.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.17; Fri, 17 May 2019 21:06:26 +0000 Received: from BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::140e:9c62:f2d3:7f27]) by BYAPR15MB2501.namprd15.prod.outlook.com ([fe80::140e:9c62:f2d3:7f27%7]) with mapi id 15.20.1878.024; Fri, 17 May 2019 21:06:26 +0000 From: Alexei Starovoitov To: Song Liu , Peter Zijlstra CC: Kairui Song , lkml , Kernel Team , Josh Poimboeuf , Alexei Starovoitov , Daniel Borkmann , "bpf@vger.kernel.org" Subject: Re: Getting empty callchain from perf_callchain_kernel() Thread-Topic: Getting empty callchain from perf_callchain_kernel() Thread-Index: AQHVDEJXYtrotGS6bU+cxwR7BKWjbKZu8J8AgAAG+ICAAAFQgIAAD2QAgACfPwCAACizAA== Date: Fri, 17 May 2019 21:06:25 +0000 Message-ID: References: <3CD3EE63-0CD2-404A-A403-E11DCF2DF8D9@fb.com> <20190517074600.GJ2623@hirez.programming.kicks-ass.net> <20190517081057.GQ2650@hirez.programming.kicks-ass.net> <20190517091044.GM2606@hirez.programming.kicks-ass.net> <8C814E68-B0B6-47E4-BDD6-917B01EC62D0@fb.com> In-Reply-To: <8C814E68-B0B6-47E4-BDD6-917B01EC62D0@fb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: MWHPR20CA0008.namprd20.prod.outlook.com (2603:10b6:300:13d::18) To BYAPR15MB2501.namprd15.prod.outlook.com (2603:10b6:a02:88::11) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [2620:10d:c090:180::ab75] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 597ef880-eaba-45e4-1fc6-08d6db0b85c0 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020);SRVR:BYAPR15MB2277; x-ms-traffictypediagnostic: BYAPR15MB2277: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-forefront-prvs: 0040126723 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(346002)(39860400002)(396003)(376002)(136003)(366004)(189003)(199004)(14454004)(25786009)(4326008)(53936002)(2906002)(6246003)(6116002)(66476007)(305945005)(186003)(7736002)(81156014)(99286004)(6512007)(486006)(446003)(66946007)(478600001)(68736007)(8676002)(66556008)(66446008)(71190400001)(31686004)(71200400001)(64756008)(73956011)(8936002)(81166006)(46003)(52116002)(36756003)(386003)(6506007)(110136005)(54906003)(5660300002)(31696002)(86362001)(256004)(102836004)(76176011)(6486002)(6436002)(11346002)(229853002)(316002)(53546011)(476003)(2616005);DIR:OUT;SFP:1102;SCL:1;SRVR:BYAPR15MB2277;H:BYAPR15MB2501.namprd15.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: fb.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: RRA1/KwIOWTFcrjWAVlm1dhBUiqtHqxEn7xqdDWleefUgUln336Wj2lr/aIfNooHpGqvAfJzDdXShQxpxU2VqX06oIo2lvviWlNTqQ5ZE+60BNj3W+uiGMBJf4z8ITUimri5vaAXbvpa4aLXVhFuAieeTrfTLj+DHHg2OQbL7JTHN9E+sxXDz3kbENPnnv419vEZ+Sr3tlp4jTjynEm/soFBvzVp3GrGkqqv2BNVzAdGC8Wy6ZVh+ZZcDjwZamo3cHY7B1aKx6LPwknbUjsXRJJhcrQBH7kFNpefvLDa5pWB6ucQ1rZzKcRHjonmATniIun3G9DCAG8usxbnt5G4TmW8rSfmzgzRaK4FON2hrV61Q8S7E4uIzi7uUjKXhV85h4IWkm8LHlWv1HpVDRiaetN1OBTlxnelSHkmfLrouuI= Content-Type: text/plain; charset="utf-8" Content-ID: <00E44FC20819F64BB81712F8B1FAA513@namprd15.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 597ef880-eaba-45e4-1fc6-08d6db0b85c0 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 May 2019 21:06:25.9844 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8ae927fe-1255-47a7-a2af-5f3a069daaa2 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR15MB2277 X-OriginatorOrg: fb.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-05-17_13:,, signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1905170125 X-FB-Internal: deliver Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gNS8xNy8xOSAxMTo0MCBBTSwgU29uZyBMaXUgd3JvdGU6DQo+ICtBbGV4ZWksIERhbmllbCwg YW5kIGJwZg0KPiANCj4+IE9uIE1heSAxNywgMjAxOSwgYXQgMjoxMCBBTSwgUGV0ZXIgWmlqbHN0 cmEgPHBldGVyekBpbmZyYWRlYWQub3JnPiB3cm90ZToNCj4+DQo+PiBPbiBGcmksIE1heSAxNywg MjAxOS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