Received: by 10.223.185.116 with SMTP id b49csp4434931wrg; Mon, 26 Feb 2018 18:18:14 -0800 (PST) X-Google-Smtp-Source: AH8x224D3OicZcikbCcFD/OXotZ/COyTp6RZHyVkZ8PGZfbxiHMlEULWjPHGFHhW18B4X7OgH75n X-Received: by 2002:a17:902:bd83:: with SMTP id q3-v6mr13000181pls.13.1519697894322; Mon, 26 Feb 2018 18:18:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519697894; cv=none; d=google.com; s=arc-20160816; b=q1RVRL84cse9p6mc1LRHvfr0l5MkuGGdH8FnaKDPcTWalZ4EVK+PK/PoXRt1Tn3Ddn z4BtZ35FtfCfFK8lPSk9e2zYrfn69o6IeoLwkCofzDNPvD1jJbkgX0G9UqtHFlkuUpZc gu/N1ZyDtvsVp8E4sjM7W1dHEsfXfLcscvHi6pGOEC5oYbq5fdhfR7jtasTzdK2lF0Ul 9PmRaIUb895wuu359vI4C7IoqSKUNFBPi28ZeNygy0PCILHLrp79/SbUmHLmZTbmRFj1 CXAixsfvz8xwBwIT/wD3LhSIH9LSt2xfQNlcopO57cJp02+uuRzLqgLZa/P8wtFbCnnx 6dvg== 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:dkim-signature:arc-authentication-results; bh=7hnNjlMcdIigBm6BSisyShovwHoE9cbobW+/ViepcuE=; b=g2cLiofQPUrJFUXGnuL+noaxVa5yo0X4usyuWOmJ+AM6S3KhTv4HR8fLEXTP4pGkQ5 BrnmE5lfjp6nww6FHICYR8MnH0c7CTL2y1EyfuxTSDPMPkQICYJ1Xxz4N/4WSOpeAZ/U xF34JAgi4kjlyJMImw1nV0IDda2KQSlk2DhFVyTy7Tu+Igpt8/sZBhexfjHc+BvhGhOp 8ZNmTL5gNlPfXPPUQQNY5E+zOeexetBcwIypbMCA/k/6/A+Fk6ODbZQElF6aiFSdZAU9 q9a1nmh3POZ41chpXfDvEI/3W2vaBJEn3k9q5GWGqQfSWtnTSOc2sTJmnPPjIJGbZTbh bE3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VqGZK1js; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l6si6306871pgc.732.2018.02.26.18.17.59; Mon, 26 Feb 2018 18:18:14 -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=@linaro.org header.s=google header.b=VqGZK1js; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751728AbeB0CRA (ORCPT + 99 others); Mon, 26 Feb 2018 21:17:00 -0500 Received: from mail-qt0-f176.google.com ([209.85.216.176]:39308 "EHLO mail-qt0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751553AbeB0CQ6 (ORCPT ); Mon, 26 Feb 2018 21:16:58 -0500 Received: by mail-qt0-f176.google.com with SMTP id f4so21367183qtj.6 for ; Mon, 26 Feb 2018 18:16:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=7hnNjlMcdIigBm6BSisyShovwHoE9cbobW+/ViepcuE=; b=VqGZK1js2PUKPilPIWV4oHE/AzVCp1hbO5rHrqE5ApQx1tGW/X2MEkKxrH5/MUBIfe k+7IIMWNWlfJTGoRx2oDy25PiPaf2Ai6RZnKEymSspj6/WUN3cDeT+ZCHkKeAjhpMZj7 YfavH9DQ67IHZLfnD49SB+UuUZZN+Em3/7x+Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=7hnNjlMcdIigBm6BSisyShovwHoE9cbobW+/ViepcuE=; b=m5Jhrsu3Ir5cB+yMWDK2w9hlaAg5vzOLAZ13Qd/abnLSTWL78iPTD41bNciOEw3vwD 75kRdIv8loaPjgzwOq2QHHX4zJSWB5YXB/kT2MrifM2yZ27ZFQPUkwSDOkW+yqme0KJ1 dxuDE1D2xEYMcUbQ2tzSNQs647OBAiVc1g41nfmOzG4AdZBSjrJSQRGft21e4Hij5a8w rBQH71+hrXInFafxg+r5+u7gLMiq6XOYOGrepUxKx+MsCqAqMDUymVWvVwwAjB5GCtCw PIPiNbx7uWKzjPsyA6T9O9i67F+4lQbiejuiAHH10BJkR2yEwpcClTgqHY2xfSZ0Od3R q39A== X-Gm-Message-State: APf1xPCpSwtZwzZ2vszfTE3KRKJkAVRei+fA0p5WwWZoI7H4JINUc1ct Ai8c8GMZgr1Widoge2teWHZOXg== X-Received: by 10.200.112.19 with SMTP id x19mr10718566qtm.85.1519697818154; Mon, 26 Feb 2018 18:16:58 -0800 (PST) Received: from leoy-ThinkPad-T440 ([45.77.212.61]) by smtp.gmail.com with ESMTPSA id p35sm7398538qkh.74.2018.02.26.18.16.48 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 26 Feb 2018 18:16:57 -0800 (PST) Date: Tue, 27 Feb 2018 10:16:40 +0800 From: Leo Yan To: Daniel Borkmann Cc: Alexei Starovoitov , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, Jesper Dangaard Brouer , Daniel Lezcano , Vincent Guittot Subject: Re: [PATCH bpf-next v2] samples/bpf: Add program for CPU state statistics Message-ID: <20180227021640.GA16801@leoy-ThinkPad-T440> References: <1519607952-12299-1-git-send-email-leo.yan@linaro.org> <1e487d11-4f15-09e5-2f53-08b9b30e1494@iogearbox.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1e487d11-4f15-09e5-2f53-08b9b30e1494@iogearbox.net> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 26, 2018 at 11:26:52AM +0100, Daniel Borkmann wrote: > On 02/26/2018 02:19 AM, Leo Yan wrote: [...] > > CPU states statistics: > > state(ms) cstate-0 cstate-1 cstate-2 pstate-0 pstate-1 pstate-2 pstate-3 pstate-4 > > CPU-0 767 6111 111863 561 31 756 853 190 > > CPU-1 241 10606 107956 484 125 646 990 85 > > CPU-2 413 19721 98735 636 84 696 757 89 > > CPU-3 84 11711 79989 17516 909 4811 5773 341 > > CPU-4 152 19610 98229 444 53 649 708 1283 > > CPU-5 185 8781 108697 666 91 671 677 1365 > > CPU-6 157 21964 95825 581 67 566 684 1284 > > CPU-7 125 15238 102704 398 20 665 786 1197 > > > > Cc: Daniel Lezcano > > Cc: Vincent Guittot > > Signed-off-by: Leo Yan > > Applied to bpf-next, thanks Leo! Thanks for help, Daniel.