Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp3795567ybv; Mon, 10 Feb 2020 06:33:56 -0800 (PST) X-Google-Smtp-Source: APXvYqwZdIzyMhFZTiu0jdLYuq56zy+lFLqgrcTQ/i+dfzcj0sL9l615JFWQf2NC8y2JexQMIwjk X-Received: by 2002:aca:aa0a:: with SMTP id t10mr965419oie.156.1581345236527; Mon, 10 Feb 2020 06:33:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581345236; cv=none; d=google.com; s=arc-20160816; b=HlE6sWruAw21+MlXcvov1ZcKgJArf8DO/ooVIDBoUijcgYILFfTmMg22qXflbWw9r3 hGqPPdys5gXy9HEdhy5x69pzWE4DvqiUqoqTjjCKaJI6CVoZBj4YvR9js8b9K7ky5doG L0raZVSzKTXQMiaauWS86rNoWeo/dB7Z0dLPH9JeRfX9vJ1U0rZg0fB1ApNTRkmVgzzx hcETIbWKA4d42QFyCNiBeQPxORO2OYK5FBDkQvj16DILAVbXPi1VjY3hwRv5jPb626jO Vy8EEZ2nJ9hUEarbSevPJWacEktikTdzJ2IvahuL/isMcOuywFHyOCfPZjM5HgohQqSu WNXQ== 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:mime-version :message-id:date:subject:cc:to:from; bh=i47NGpjB3tfWMhZmDWlClYgbQJJZRRe5v6QOSoOuEq0=; b=yyHI3q3xIPZ+cxYdThGHa4NuMjf45iJltA4KuVEfUBTESexy9m7haXSQB0uEmUvnP0 7HD8FPHr3iKysxveJIRJ6BmWIH5TFCg3HjWIFT7lyNMe4T8V36alvpWBs6UPZt/RLrv+ LSvo/munkccJcl1gBOcGd1R0Jr0NBhP1XSLomrJYg21+9Zo8HfnpQHCrcUhBugkiBeVA 73DHwZTdBymLn+AIKkxhiBUAn5cVURBET9EqRV8GcfOIL0NGILrFuLNIv3HcF3HfAiQc nbdv2M0AyreKAT9A+1i7ZQgtFP3Wu+WGdHoP0ya7tnKzZAV0k/VhdoZVt3yn+0d0KN1i IAYQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j3si234447oie.86.2020.02.10.06.33.44; Mon, 10 Feb 2020 06:33:56 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728776AbgBJOcb convert rfc822-to-8bit (ORCPT + 99 others); Mon, 10 Feb 2020 09:32:31 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:32599 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728193AbgBJOcb (ORCPT ); Mon, 10 Feb 2020 09:32:31 -0500 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-358-iKWqynIAPNiugqxP5_D2Fg-1; Mon, 10 Feb 2020 09:32:23 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 7232D1084442; Mon, 10 Feb 2020 14:32:21 +0000 (UTC) Received: from krava.redhat.com (unknown [10.43.17.9]) by smtp.corp.redhat.com (Postfix) with ESMTP id 85E2B60BF1; Mon, 10 Feb 2020 14:32:19 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , Alexander Shishkin , Peter Zijlstra , Michael Petlan , Ravi Bangoria Subject: [PATCH 0/4] perf tools: Fix kmap handling Date: Mon, 10 Feb 2020 15:32:14 +0100 Message-Id: <20200210143218.24948-1-jolsa@kernel.org> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: iKWqynIAPNiugqxP5_D2Fg-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: kernel.org Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org hi, Ravi Bangoria reported crash in perf top due to wrong kmap objects management, this patchset should fix that. thanks, jirka --- Jiri Olsa (4): perf tools: Mark modules dsos with kernel type perf tools: Mark ksymbol dsos with kernel type perf tools: Fix map__clone for struct kmap perf tools: Move kmap::kmaps setup to maps__insert tools/perf/util/machine.c | 24 ++++++++++-------------- tools/perf/util/map.c | 17 ++++++++++++++++- 2 files changed, 26 insertions(+), 15 deletions(-)