Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp235429ybc; Fri, 22 Nov 2019 20:12:40 -0800 (PST) X-Google-Smtp-Source: APXvYqyp0mEyofHhjPo0KLm3jEb1FJTUzUI1xxl+esCiC8Z2mY2IXznSb1l7K6MFJ4O5xrBv6wG6 X-Received: by 2002:a50:fd9a:: with SMTP id o26mr5370074edt.244.1574482360227; Fri, 22 Nov 2019 20:12:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574482360; cv=none; d=google.com; s=arc-20160816; b=SNxNWX8JnogyV8/Gu5NpKoJUgARmcfcCH6r7U7u67sh61HqZgSNqjuwG4LJGhoGiy6 LK/DfOhrHwX413/mHj5hfTFTcwNBL9cwk+3LgLeyFbNMd2Pk5XMpo/0D3fCCPohOZ7Aw w2E+MoVeBtN56loteg6ey685Hp7j08N06iHn8RxEvG6qSQIcDgNwxa0Vk0NX3L0oPaHO nP61xaHNGOoZKuSybX95JfT7eBCjwmztOWVDj/YbDuQmFdOSJpBG0qQin7q21PMF6Dpu MZVEsTjMDZshxzQvIb5G3/f9m6wHUsPjOlul3q38Ft8AFdIuvA+qtRt6ja/DSaJ19ya6 P4lg== 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=MzKuDt8iI75H6p73nKRuPauZynxm9JSum9wi8JsQGQY=; b=py0FYTh3kZt9tMxjUvPTUxCm9YE9zvtWG3LfTJwRn/kWwGsAMtchmHb9WfSBy5KLzz lkLYZe9vrRf40vRMDB+z0DSzX7fojjIEp0LHm81PyEisXfbTZS/077dMw7zRZyTeScnY e+JYwpNuAohea1DY/dkL7XoqfPPwdRcz0VEWsauElaClp2IXPAyUmrBSfKQ9ODIRVrpC srUa52snjuetmRSuiAMO6HUW/st+EG+4tstPcRV8YZPlY44B13j2hf6C7IFdvLU2KEAw +p7CzlQZ/mKBvUaN/WRmFYFmRQSdFTvSN5wMIuhK9xYdZW4Pv7uimBjVOqAFMjYusKlg r9xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VKqkTMCe; 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 t6si55314eji.80.2019.11.22.20.12.16; Fri, 22 Nov 2019 20:12:40 -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=VKqkTMCe; 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 S1726494AbfKWEIB (ORCPT + 99 others); Fri, 22 Nov 2019 23:08:01 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:34928 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726085AbfKWEIA (ORCPT ); Fri, 22 Nov 2019 23:08:00 -0500 Received: by mail-pg1-f196.google.com with SMTP id k32so4367341pgl.2 for ; Fri, 22 Nov 2019 20:07:58 -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=MzKuDt8iI75H6p73nKRuPauZynxm9JSum9wi8JsQGQY=; b=VKqkTMCeaufkbkUuBIvZiV/TY7m9CAviwe+mI8WBnK4xZ9VJqYrThIlfL3VDeCsKq/ XxxL1WKdzKloDCJoS4YXwM+cMfXSK8wmQ39a8rRwLUfegKQSd7jR76veblP17LorABJ3 eXFghUFrH2KhDIDFfMtKgHK+J5nYUikSCvdtzWtJ4wqR5WGAZwJhsZ/4Z8gz7cIGONXX GSqdMVuoQYn5U1/nd6WRrqYBrnZynNA94egmEOsQo0bUWB5zFUy4fS7m0KoSoMrXhNn7 FiLjfCY4JTZwe674dRDEmqQXvE2FEe8G+XuyzuNCJjGVRueobKZjZ0/vLMCBnHKOUQHW MwEg== 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=MzKuDt8iI75H6p73nKRuPauZynxm9JSum9wi8JsQGQY=; b=Iwbpk4+/E4Z0EM0NHnmRQ8WLXgUY5+92na7MAOFolGWd65cOR+AXYXSMeScAPTwVNN PKSjScaKClagMJkhjLkij5IVMD5eLs9RsZDixVtIXusIG5mJlH5ks76IPV2MEhrMisZ+ iJCbUF4bm3TROy8XrxLc5hVVaHGsZkfrHuvPGuO7gfOcNtJSkAcLky+qXdeB9rGDSBie Ovf4vTODmf1Ej/Ez7ibnQHs6aVf2DHp8l1XtSpzZVXt6/KpUwjgCtebbD8mUh2Nm+m5a 8OF01AWRtuvaNsfhwq1TM5aXgtinLNzwgi8DV/n/k4vWx8mwuv0eDovcpPmZpCetdqFb j+Vw== X-Gm-Message-State: APjAAAUPknfHE0BCimllL0SAaS42RhlJ7JqOj3byo5Zhmb+LarZoQh8I /GJlc/Md0w/CX48IXTxVBrc= X-Received: by 2002:a63:474a:: with SMTP id w10mr19065381pgk.331.1574482078320; Fri, 22 Nov 2019 20:07:58 -0800 (PST) Received: from mail.google.com ([45.32.93.123]) by smtp.gmail.com with ESMTPSA id o7sm136432pjo.7.2019.11.22.20.07.57 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 22 Nov 2019 20:07:57 -0800 (PST) Date: Sat, 23 Nov 2019 04:07:54 +0000 From: Changbin Du To: Namhyung Kim Cc: Changbin Du , Jiri Olsa , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , linux-kernel Subject: Re: [PATCH v5 0/2] perf: add support for logging debug messages to file Message-ID: <20191123040753.nnbstznsabfltwi6@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: 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 On Tue, Oct 22, 2019 at 12:35:01AM +0900, Namhyung Kim wrote: > Hello, > > On Fri, Oct 18, 2019 at 9:28 AM 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. > > I thought I implemented a debug message view in TUI mode by saving > all the messages in a linked list. But it seems not sent to the list and I > cannot find it now. :( > Sounds bad :) > Anyway I understand your concerns and the changes look ok to me, so > > Acked-by: Namhyung Kim > Thanks for your review.