From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752741AbcFFUWB (ORCPT ); Mon, 6 Jun 2016 16:22:01 -0400 Received: from mail.kernel.org ([198.145.29.136]:44540 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752674AbcFFUWA (ORCPT ); Mon, 6 Jun 2016 16:22:00 -0400 Date: Mon, 6 Jun 2016 17:21:55 -0300 From: Arnaldo Carvalho de Melo To: Taeung Song Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Alexander Shishkin , Masami Hiramatsu , Jiri Olsa Subject: Re: [BUGFIX][PATCH v6 1/9] perf config: Fix the problem of abnormal termination at perf_parse_file() Message-ID: <20160606202155.GA15108@kernel.org> References: <1465210380-26749-1-git-send-email-treeze.taeung@gmail.com> <1465210380-26749-2-git-send-email-treeze.taeung@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1465210380-26749-2-git-send-email-treeze.taeung@gmail.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Jun 06, 2016 at 07:52:52PM +0900, Taeung Song escreveu: > For example, > > If user config file has a wrong value 'red;default' > instead of a normal value like 'red, default' for a key 'colors.top', > > # cat ~/.perfconfig > [colors] > medium = red;default # wrong value > > and if running sub-command 'top', > > # perf top > > perf process is dead by force and terminal setting is broken > with a messge like below. > > Fatal: bad config file line 2 in /root/.perfconfig Thanks, reproduced, tested, applied. - Arnaldo