Received: by 10.223.185.116 with SMTP id b49csp3517976wrg; Mon, 5 Mar 2018 23:54:42 -0800 (PST) X-Google-Smtp-Source: AG47ELuBteKkoRqvfXGVUQWk0akwIWjY9tksSJiAZ2Qh7ScFp9H3gCTjOhMfdCym8szeio7Lm2lz X-Received: by 10.99.134.65 with SMTP id x62mr14015412pgd.291.1520322882224; Mon, 05 Mar 2018 23:54:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520322882; cv=none; d=google.com; s=arc-20160816; b=iEA2zgCIGApUKh/OsdEBhpCjNR39SC2hcOX6q5jbHnj56iVYW0Yi1EtsohI9q54DyH Et1HTX8e29PtyBaNU1zy9H4gICYq2iytqt26bNkqgfMe9BjfST2NQXisuiqhekk4EyaL /z/lw18mLegBqeMGVvMbQ/IU2O1dU9oKzg6bNTH1m9ewcARRdWXHv8deMuFlAk3x4jxz BsNJG1CMH+0YxFr78xVK4Yx8p0EUGYnvvAFTvr/gdC/eidJzH6GF+42TT3WFmT15jokY KK8Fvab3mChTw4bpizeHSlVA3Nkyy5J+P/q70rM1dUOtWlg3pmyO8RLkMhSUM4QayHVb MD6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=8dxBSIfcrH0o40WT8FPROHvQA2D6vCuBQzCzXnwAV2M=; b=kAGXDe6KVUi8pbAbUWc+gURx6X/gHBvkKDHbYn06A9IWF2sZsdENEQLeSnM0dmxeFN mreJ0hMoRAnB35ZLRKG9oz0z40KjugLsTQBrU3g6oNXgq1m+FXAYRgJelVPAfHY45Nsb qTDwT6/jmMw6tMnwhy3BsIM1mtNhYmUXc055JJ2lk/ClcqGCElaaPqywyAaDi7x9uXOg +TcLC50hYIJqoyX0z/m+bomdq1NV47N/8/bsT7a7aluayvACFgfrOPNOy1BFXhNl8Blh MMQpU+iv7cSfu7eKwUoCu28B9xF2vakb5EZNziGFptw/2DqLyAuE4NmGKgaMVRiyJ2Uf N5xw== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e15-v6si10820919pli.828.2018.03.05.23.54.28; Mon, 05 Mar 2018 23:54:42 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753283AbeCFHxG (ORCPT + 99 others); Tue, 6 Mar 2018 02:53:06 -0500 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:49834 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750838AbeCFHxF (ORCPT ); Tue, 6 Mar 2018 02:53:05 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 23A69406E8A9; Tue, 6 Mar 2018 07:53:05 +0000 (UTC) Received: from krava (unknown [10.43.17.243]) by smtp.corp.redhat.com (Postfix) with SMTP id EECCD2166BAE; Tue, 6 Mar 2018 07:53:02 +0000 (UTC) Date: Tue, 6 Mar 2018 08:53:02 +0100 From: Jiri Olsa To: changbin.du@intel.com Cc: acme@kernel.org, peterz@infradead.org, mingo@redhat.com, namhyung@kernel.org, linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH v2 0/2] perf sched map: re-annotate shortname if thread comm changed Message-ID: <20180306075302.GA19895@krava> References: <1520307457-23668-1-git-send-email-changbin.du@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1520307457-23668-1-git-send-email-changbin.du@intel.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 06 Mar 2018 07:53:05 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Tue, 06 Mar 2018 07:53:05 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jolsa@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 06, 2018 at 11:37:35AM +0800, changbin.du@intel.com wrote: > From: Changbin Du > > v2: > o add a patch to move thread::shortname to thread_runtime > o add function perf_sched__process_comm() to process PERF_RECORD_COMM event. > > Changbin Du (2): > perf sched: move thread::shortname to thread_runtime > perf sched map: re-annotate shortname if thread comm changed Acked-by: Jiri Olsa thanks, jirka > > tools/perf/builtin-sched.c | 132 ++++++++++++++++++++++++++++++--------------- > tools/perf/util/thread.h | 1 - > 2 files changed, 90 insertions(+), 43 deletions(-) > > -- > 2.7.4 >