From: Marc Hartmayer Subject: [PATCH 0/4] tools/kvm_stat: misc changes Date: Tue, 9 Jan 2018 13:27:00 +0100 Message-ID: <20180109122704.5836-1-mhartmay@linux.vnet.ibm.com> Cc: Paolo Bonzini , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , Stefan Raspl , Janosch Frank To: Return-path: Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:47928 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754941AbeAIM1a (ORCPT ); Tue, 9 Jan 2018 07:27:30 -0500 Received: from pps.filterd (m0098417.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w09CP20E073967 for ; Tue, 9 Jan 2018 07:27:29 -0500 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2fcw5kt0fq-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 09 Jan 2018 07:27:29 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 9 Jan 2018 12:27:28 -0000 Sender: kvm-owner@vger.kernel.org List-ID: This patch series doesn't change any functionality, but simplifies the code. Marc Hartmayer (4): tools/kvm_stat: simplify the sortkey function tools/kvm_stat: use a namedtuple for storing the values tools/kvm_stat: use a more pythonic way to iterate over dictionaries tools/kvm_stat: avoid 'is' for equality checks tools/kvm/kvm_stat/kvm_stat | 65 +++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 35 deletions(-) -- 2.13.4