Received: by 10.213.65.68 with SMTP id h4csp2471573imn; Mon, 9 Apr 2018 04:10:30 -0700 (PDT) X-Google-Smtp-Source: AIpwx49+Q+QFPaJoW6h/E1IcJLCMLTFDIasI+sii8FCcWZFnnGkWze8mhaV947dbsy+AP9BqJ48c X-Received: by 10.101.82.10 with SMTP id o10mr24897995pgp.148.1523272230273; Mon, 09 Apr 2018 04:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523272230; cv=none; d=google.com; s=arc-20160816; b=ivuKNnL7I2tcmQAKH3EV91X2Vjn3fsCpgku856upR71Qrly6uHTJCNt6sJ7c5Fb8Sv Yhn26jH/UXgHSvTP4A/RvqtEg3v1avxfXAFQKJvh8BCBzqxQdNyNxXt8cey13ONIkxAc Qo39j6LMLdm5mwDPKwBVmRk++hbVPthaZbjLtFACYB8vkZ+sIxEzcntb8WZhxpY/n5Ug RrQ/HYSudW9qNdx3wpzzX/E2ugyASuckySZCuC0WGFZv0FItIXz00aYGmDR1/X7BrHju WGGuUwHNDriUNTReHTHNXEOq/YdTr/BFH4XRu5DIqhwvs65SnAXMATiHsM74LEKIsco7 RTMg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=hGmkzPC7KiFNylaplsoNdADVf3xrRznP6GeVvtGzb0E=; b=lSSFFWW/FCvFtReGX0b3JLXfqw2/stVAi7NIAbtr431M9iKTPUXqFgKoKF/2P7TBrf q2jfEudqSQwIlF9fJvWjTK6uZSbunF8RuWGQi+g97G92PEaT5DYOrJ3iKxzmKvpApwIy NNIzkFaGredtYM3g/Rk1HYeKC3sRU8jKd6iS8tpAXhWvGSpm0lMsnY626RpYaU1vspFO IW2ugwrN2bxRqZ5eM0Fh2c4A7iyM0UuClS0toB/t3YXanO74yeTr28KDdJO/GU8NNgJU gpWScGd9dhzuj1I0JdPEoFul/1kV3M7t7OSP9Nx3tts/pc6oXKIg1+I/ws0/BDhv5LbA BjVg== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s23-v6si48567plp.592.2018.04.09.04.09.52; Mon, 09 Apr 2018 04:10:30 -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; 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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751633AbeDILGz (ORCPT + 99 others); Mon, 9 Apr 2018 07:06:55 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:41550 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbeDILGx (ORCPT ); Mon, 9 Apr 2018 07:06:53 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w39B4oDb043909 for ; Mon, 9 Apr 2018 07:06:53 -0400 Received: from e06smtp15.uk.ibm.com (e06smtp15.uk.ibm.com [195.75.94.111]) by mx0a-001b2d01.pphosted.com with ESMTP id 2h839wj93j-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Mon, 09 Apr 2018 07:06:53 -0400 Received: from localhost by e06smtp15.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 9 Apr 2018 12:06:50 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (9.149.109.194) by e06smtp15.uk.ibm.com (192.168.101.145) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 9 Apr 2018 12:06:47 +0100 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w39B6k0i52887784; Mon, 9 Apr 2018 11:06:46 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id AE92E11C050; Mon, 9 Apr 2018 11:58:54 +0100 (BST) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6BBAC11C04A; Mon, 9 Apr 2018 11:58:52 +0100 (BST) Received: from bangoria.in.ibm.com (unknown [9.124.31.66]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Mon, 9 Apr 2018 11:58:52 +0100 (BST) From: Ravi Bangoria To: acme@redhat.com Cc: mhiramat@kernel.org, kstewart@linuxfoundation.org, tglx@linutronix.de, pombredanne@nexb.com, linux-kernel@vger.kernel.org, peterz@infradead.org, mingo@redhat.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org, uneedsihyeon@gmail.com, kjlx@templeofstupid.com, Ravi Bangoria Subject: [PATCH 0/3] perf/buildid-cache: Add --list and --purge-all options Date: Mon, 9 Apr 2018 16:36:30 +0530 X-Mailer: git-send-email 2.14.3 X-TM-AS-GCONF: 00 x-cbid: 18040911-0020-0000-0000-0000040FA975 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18040911-0021-0000-0000-000042A3C9BF Message-Id: <20180409110633.20767-1-ravi.bangoria@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-09_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804090121 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org First patch is a trivial error message fix. Second and third adds new options --list and --purge-all to 'buildid-cache' subcommand. Ravi Bangoria (3): tools/parse-options: Add '\n' at the end of error messages perf/buildid-cache: Support --list option perf/buildid-cache: Support --purge-all option tools/lib/subcmd/parse-options.c | 6 +- tools/perf/Documentation/perf-buildid-cache.txt | 7 ++- tools/perf/builtin-buildid-cache.c | 75 ++++++++++++++++++++++++- 3 files changed, 81 insertions(+), 7 deletions(-) -- 2.14.3