Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2742689ybc; Mon, 25 Nov 2019 03:29:23 -0800 (PST) X-Google-Smtp-Source: APXvYqyRKwhpb8I0/M58a8O4nbsIKqIoSubPc8m10QjW3WaW6xpdDJw/8qmJTHnNOA2WnuKHa3lp X-Received: by 2002:a50:ac81:: with SMTP id x1mr17520564edc.200.1574681363716; Mon, 25 Nov 2019 03:29:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574681363; cv=none; d=google.com; s=arc-20160816; b=I1swt5gMnIfzYsSBw1reoyKU7xMk7UbPdfO1eaZsf+Hl2OL/HMf3wIi4AEtQ5fI1nt mP6bopenCfXHtZXvF/5MFxgt8Q9ycogugVhEcQwkHM2YsFbUC+wM3KHG+hpWnpnHyqwt W+zRKLLFnfbxnAEKvn8w8uKtMga7+1vV4KzTLewx/gJCDwWKVJX4JjM5a4B4c1E9I4Oa CoQteIK2lkIO3cjDawRulegEYjCvowJaj2UCHFKi4Zw/fuNYhR8ejZb637ucJk3DMij+ Uh0Q3oy6ReZUuO6KaOoNEXBCCp1iLF/qU8sgHgWxhPScRQSVMO2NnW5V+HFHcNCGUnIN Z4gA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:user-agent:in-reply-to:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=MI+IIVM68DkP2rM/tD2IsV9b/0Cz99N2MtX9/Xh5IZ8=; b=l4u3K91wGh+XJi4aeBN2jxUxkGQ7rwJRse378ZPLUzOgbLWkajXfHT+b9+GWMPz86j VDTK/sG6t6G7DyIDOhfJM62BYFhgMcNCNvxGMIBm4o7KW4MJAILuluFBRp3xVZxjYZYT vCsFEjOHWnhd0HjvIJZ49lCOkglez68pWT0qZCn/eYy4Reljt80vFFgxrrCxB3Kx+BMc 6r3NPqkyQiDHjIUWnGMxmOhWRvQ/FlrfDgbGpUYJ/+lYsSzvlcnfkg5O31f3AhPsnf4w R4Uq5PzTtTkUDtJTLYkNIwaJQlXqP88jwRHv/RT1QuK5gnCVGRu6NpC9+Nh+zWMJtIKX iYEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="S+s/5d1s"; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o14si4704974edt.219.2019.11.25.03.28.59; Mon, 25 Nov 2019 03:29:23 -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=@redhat.com header.s=mimecast20190719 header.b="S+s/5d1s"; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727287AbfKYJ2F (ORCPT + 99 others); Mon, 25 Nov 2019 04:28:05 -0500 Received: from us-smtp-1.mimecast.com ([207.211.31.81]:56562 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727006AbfKYJ2E (ORCPT ); Mon, 25 Nov 2019 04:28:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574674083; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=MI+IIVM68DkP2rM/tD2IsV9b/0Cz99N2MtX9/Xh5IZ8=; b=S+s/5d1sNTt0o9hSKtzFYljfzEKjHciYQNftq/xrFl09CugbaheoBzTrP1ETdkKNqfQfkh /DtPucYNZ+zSoO0zqvLQXoDZwBQJkUt9AlY+EoDc7XJWf24cThozfeh/Rm/ytMkykN0ZiG 8q9nZJlmbiFG/NKxTl3VMbKHXyYUX7g= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-105-FaI1VS5AM4i_xS2_7jN2sg-1; Mon, 25 Nov 2019 04:28:02 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E4C81107ACE8; Mon, 25 Nov 2019 09:28:00 +0000 (UTC) Received: from krava (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with SMTP id 749165D9CA; Mon, 25 Nov 2019 09:27:59 +0000 (UTC) Date: Mon, 25 Nov 2019 10:27:58 +0100 From: Jiri Olsa To: Changbin Du Cc: 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: <20191125092758.GA4675@krava> References: <20191018002757.4112-1-changbin.du@gmail.com> <20191123040910.dfi65lbev7ydtbdo@mail.google.com> MIME-Version: 1.0 In-Reply-To: <20191123040910.dfi65lbev7ydtbdo@mail.google.com> User-Agent: Mutt/1.12.1 (2019-06-15) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: FaI1VS5AM4i_xS2_7jN2sg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 23, 2019 at 04:09:10AM +0000, Changbin Du wrote: > Hi Jiri, In case you missed this one in your mailbox. :) sry I mised this and can't apply this anymore.. could you please rebase it to current Arnaldo's perf/core? thanks, jirka >=20 > 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. > >=20 > > 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. > >=20 > > Changbin Du (2): > > perf: support multiple debug options separated by ',' > > perf: add support for logging debug messages to file > >=20 > > tools/perf/Documentation/perf.txt | 16 ++-- > > tools/perf/util/debug.c | 124 ++++++++++++++++++++---------- > > 2 files changed, 92 insertions(+), 48 deletions(-) > >=20 > > --=20 > > 2.20.1 > >=20 >=20 > --=20 > Cheers, > Changbin Du >=20