Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp234345ybc; Fri, 22 Nov 2019 20:10:56 -0800 (PST) X-Google-Smtp-Source: APXvYqyliii/yTMDpSjHz67lXMIAP2ADMIe2RadPrAvP6xtR7MbEKXoUmmLqNmJERWtj4Rsq+YBU X-Received: by 2002:a17:906:4d93:: with SMTP id s19mr25572435eju.285.1574482256641; Fri, 22 Nov 2019 20:10:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574482256; cv=none; d=google.com; s=arc-20160816; b=EX7F6WeZGQD+DWCsLye1qcuQSae/C3O1lPPR9jy4gFnQrKP2tFY+ymL8Oo7h2V6wGb AAxNjNB2JULYIA/m/umkuQgLJkqwCRYMTInA1KVH4FiWHntp324eDvTpkWzT47MfFpRU 3LeKlJESHJDxX6mQpGzrtVopDmUyBsc088VvqIkN/fgE6yfPpWpBFhQq8x+6SL1YG1xQ DxO8LE8EqnuIgAzAeMujIVcpzqU1EsmkEkpjC2+M9ju+B0cwCRANaoEYNeBV5QjTIdBc hZJa7h8x6fG/TAbwwsVK5VTmk+dH4Nkc8m9ebTXRCn8yqx3HPV4cZFJHUv9SaIfHvpJu 9Gng== 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; bh=g8sgaQY/+XBwxHT7dgSuaVwAa2AexcXfsTE7aom3zK0=; b=VXvsyTLEE9JRKpQby1bzNeaR14BZsf+IKk6yZVHQ8ezfEXbV/pJDEOsGKeBs1wJTOw ChwrF0fXaL3+n5+2Nug3qN0gBl+mUBMz6+YCdhAnquP6QvA4cvH34HYpzcyOd27G3FLZ icACCAG8ydVNI+40L0uJ2TkUtXXCosW2FOud5YzP3LpytTgbEVapO0/SoAKR0DYAE8o8 xycBYDlHlFHLzLrtPlQjN0KUrLZdfnXOduSh0K/OZRAvHn+BKqQAcPMTZSWEAQOCnYPB eS1liDzrKyBWYs/ayRxkplv+mM0rhehyRhF88Bj6fyK4vtnvROMOgBRhzAPAee9uBoCD M4rQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=bHQSXAf1; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t14si31420ejj.363.2019.11.22.20.10.33; Fri, 22 Nov 2019 20:10:56 -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=@gmail.com header.s=20161025 header.b=bHQSXAf1; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726752AbfKWEJN (ORCPT + 99 others); Fri, 22 Nov 2019 23:09:13 -0500 Received: from mail-pj1-f65.google.com ([209.85.216.65]:32842 "EHLO mail-pj1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbfKWEJN (ORCPT ); Fri, 22 Nov 2019 23:09:13 -0500 Received: by mail-pj1-f65.google.com with SMTP id o14so3986334pjr.0 for ; Fri, 22 Nov 2019 20:09:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=g8sgaQY/+XBwxHT7dgSuaVwAa2AexcXfsTE7aom3zK0=; b=bHQSXAf1edwcECyBp5dtz84e1e0dMEH2+HNZniaccn3zavCJE9U9DDNY2EsfnFKXJ6 HJyqNJtS/hZUoXAcq1gqx/HkmcqUpdKGGMex94g4/V1nM3+RObfP0nvAWqWhgiJ9sYck Z4MNUnxLRWU0zTsrVcCVogBpS/O63r/yGBBqNINZNvQVvcvwLKfEntPzuXls8/aSnvEO Mb9YCbCTf/cfLLEp+2QIz8ibFb+nnKUKE3zhbn95NP/A7nlXkw8U7fIrlwReZq+RNgyP cvMbXrfThrLVT2NJJ9vBzORFVocZaMzueBm5iS6AJXu+l8hUrX20DETuVHKbYT0pUDFP ftTA== 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=g8sgaQY/+XBwxHT7dgSuaVwAa2AexcXfsTE7aom3zK0=; b=Knc4IVrNKdxzh160TSHPFnVN35vUmu9Orr5J8tD48BFRHpN5RS6p4mPLwsC+NN1Z2n I6PdZGWWrm+Fpn2msYDmgiobFXRJcwrMC9UXxNP2dyB7qaf8dXJjHb8hQnWNMnYxuL+N qpEvWb9v1VIjcGtzW7TqK9fWGZ9xRtdaTwh1wNh5/JFVmxeUdDZPHTkGzTJF5BM3rF1t HKdn2xapBAp/oRBiqVI0vxiyz+LL9e54LJf0hH/JliVc0hKlG6L6WDoOiKWmPDDPf/VB mNqzba1PXPjbF9cNuPyieSHHV7B9dWH9FK6zjF7ZYlaGtbXCMAGZIoXV+CNZU9QVewvG GQ7Q== X-Gm-Message-State: APjAAAXWJ9lpZEge6lhOoSDQvS22HNJINqCu2JLZ6NUS/Sn4tHKwEP6e LwrzPStK5kjqPIMj4MsDubA= X-Received: by 2002:a17:902:bb8f:: with SMTP id m15mr17950296pls.121.1574482152599; Fri, 22 Nov 2019 20:09:12 -0800 (PST) Received: from mail.google.com ([45.32.93.123]) by smtp.gmail.com with ESMTPSA id x7sm120934pfa.107.2019.11.22.20.09.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Nov 2019 20:09:12 -0800 (PST) Date: Sat, 23 Nov 2019 04:09:10 +0000 From: Changbin Du To: Changbin Du Cc: Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Namhyung Kim , linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 0/2] perf: add support for logging debug messages to file Message-ID: <20191123040910.dfi65lbev7ydtbdo@mail.google.com> References: <20191018002757.4112-1-changbin.du@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191018002757.4112-1-changbin.du@gmail.com> User-Agent: NeoMutt/20180716-508-7c9a6d Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jiri, In case you missed this one in your mailbox. :) On Fri, Oct 18, 2019 at 08:27:55AM +0800, Changbin Du wrote: > When in TUI mode, it is impossible to show all the debug messages to > console. This make it hard to debug perf issues using debug messages. > This patch adds support for logging debug messages to file to resolve > this problem. > > v5: > o doc default log path. > v4: > o fix another segfault. > v3: > o fix a segfault issue. > v2: > o specific all debug options one time. > > Changbin Du (2): > perf: support multiple debug options separated by ',' > perf: add support for logging debug messages to file > > tools/perf/Documentation/perf.txt | 16 ++-- > tools/perf/util/debug.c | 124 ++++++++++++++++++++---------- > 2 files changed, 92 insertions(+), 48 deletions(-) > > -- > 2.20.1 > -- Cheers, Changbin Du