Received: by 10.192.165.148 with SMTP id m20csp3562588imm; Mon, 7 May 2018 14:36:09 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoEuePPDgXklu2Pp3pM7J1tk3vLF6/V32tzqDOLzILcSocQI9O09WQvcOMmdMdTQIM129o7 X-Received: by 2002:a17:902:8606:: with SMTP id f6-v6mr38674279plo.258.1525728969249; Mon, 07 May 2018 14:36:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525728969; cv=none; d=google.com; s=arc-20160816; b=B6UYiJUaGaQUnExnv+vQZBYc7vRSSiDElQDGsv2I5zwGU5C7wd9B0mnSF+oWUvxUJG 2pfEtRcDbVlS9yk7p00TbuVvhtcFVpfuru/ZvQPqQaVKA99ODhyGbOEj/hMS53Z+bWro +tA5SM9mE2wk22XnBSf6eZ8hNe7Cxx3+Ps5I8F1rPG1nJGS7OMX3u2gkTvDckyAY+6vM s9V/FyJxPn2zuwloYPpgB3L+M5fH0th9I4Cyq46vShWqXQ6R/rIhne843GdPR0WZztkU z6tE0eEZXgUr1ZwO8PYpLz35VmDaWnJUqviVutnJRsbKFGKvGyZkFiopxs3cD8fZuHsC /Ekw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=7L9o3lFO6vU5nIfuOnt4B32ZiA/QLQlO2YqkQ6oKGNQ=; b=BGYFEvh9sUKMUTFjk5XwI+I7AdCFijb/wCZOF5OyeMlPFGiyEad/OkiDQ8cYYfzdMl yySswNuedo8ub+1sEfeX02LGuiCqIeVuJfF+kyUZskUWXtXO19fxucOcEXQqUuQn7YR6 SMhp3oJBdy5V3IwlWcLmvv1ppVjgYsFPyVHK099Hw0XxITsjfCctfOHqPhZxMvs98JxN RqRBEyxuEWt6ws86VTz42rmghVWYmZIyvZYnx8+DFJvoSzRkMjJ0XaYjt2sksyABnkaG RbGrphd5sWBGe7GgWfiGWV2UnaTtLmJSLduCMZHKKQkyMZhpGkSkuiejfS5DYaFUvYja sJUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@akamai.com header.s=jan2016.eng header.b=gbLc237A; 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=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v40-v6si22894961plg.84.2018.05.07.14.35.54; Mon, 07 May 2018 14:36:09 -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=@akamai.com header.s=jan2016.eng header.b=gbLc237A; 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=QUARANTINE sp=NONE dis=NONE) header.from=akamai.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753178AbeEGVe5 (ORCPT + 99 others); Mon, 7 May 2018 17:34:57 -0400 Received: from mx0a-00190b01.pphosted.com ([67.231.149.131]:38296 "EHLO mx0a-00190b01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752858AbeEGVem (ORCPT ); Mon, 7 May 2018 17:34:42 -0400 Received: from pps.filterd (m0050093.ppops.net [127.0.0.1]) by m0050093.ppops.net-00190b01. (8.16.0.22/8.16.0.22) with SMTP id w47LX9xL030039; Mon, 7 May 2018 22:33:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=jan2016.eng; bh=7L9o3lFO6vU5nIfuOnt4B32ZiA/QLQlO2YqkQ6oKGNQ=; b=gbLc237AZreLk9A70e4Sdt27h/l0RloGhbW2wgiEtYMBTkQz/FsANoFyM4g5gsfHR1rv 2pOYwDQBtx6mo2uhvumzYSU3WNeCDtna3tGIuxUC+oyhVZWuj9WGFOUco50OGy2vNJC/ yFobf0uXf1ZO0TmSI5WbXwZTmXoCJLw/wc7GE7cfXrUTcE1IEIFg594Y17Udt6lf5LNz f0PCXNZh9ayONoh+UAHMzwTMG5gHNyQTNhIw3Ul/VrCNlelRjfnoR06SyIOxEmZ0oW6T ORX0JO6dk5Sd5NHjEQsB4oijPMzMWSNkfFDUboUNPk47K+gaq/wIJrCA1ifAc6g7Iffq /A== Received: from prod-mail-ppoint4 ([96.6.114.87]) by m0050093.ppops.net-00190b01. with ESMTP id 2hs3vpe6kf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 May 2018 22:33:56 +0100 Received: from pps.filterd (prod-mail-ppoint4.akamai.com [127.0.0.1]) by prod-mail-ppoint4.akamai.com (8.16.0.21/8.16.0.21) with SMTP id w47LVoip024745; Mon, 7 May 2018 17:33:55 -0400 Received: from prod-mail-relay14.akamai.com ([172.27.17.39]) by prod-mail-ppoint4.akamai.com with ESMTP id 2hs7xw86kb-1; Mon, 07 May 2018 17:33:53 -0400 Received: from [0.0.0.0] (prod-ssh-gw02.sanmateo.corp.akamai.com [172.22.187.166]) by prod-mail-relay14.akamai.com (Postfix) with ESMTP id A954982D3C; Mon, 7 May 2018 21:30:32 +0000 (GMT) Subject: Re: [PATCH v2] perf tools: allow map files to specify DSO To: Andi Kleen Cc: mingo@redhat.com, acme@kernel.org, peterz@infradead.org, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, wangnan0@huawei.com, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, eranian@google.com References: <1525717456-21475-1-git-send-email-johunt@akamai.com> <20180507184001.GE4050@tassilo.jf.intel.com> From: Josh Hunt Message-ID: Date: Mon, 7 May 2018 14:30:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <20180507184001.GE4050@tassilo.jf.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-07_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=853 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805070211 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-07_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=835 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1805070211 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/07/2018 11:40 AM, Andi Kleen wrote: > On Mon, May 07, 2018 at 02:24:16PM -0400, Josh Hunt wrote: >> Add the ability to specify a DSO in the /tmp/perf-.map file. >> The DSO should be the first line in the file and readable by the >> running user. If a valid DSO is found all other contents of the >> file will be ignored. This allows things like callchain unwinding >> with DWARF to work. > > FWIW it's ok, but also obsolete with Kirill's large-pages-in-tmpfs > work in newer kernels. With that you can just copy the executable into > a 2MB tmpfs and disable the manual huge page copying and everything > should work as usually. > > So essentially it's only a hack for old kernels and old binaries. > > But doesn't hurt I guess. Ah, very interesting. I wasn't aware of this. Can you point me to some more details on this process? Thanks Josh