From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753449AbcHQAZV (ORCPT ); Tue, 16 Aug 2016 20:25:21 -0400 Received: from cloudserver094114.home.net.pl ([79.96.170.134]:55489 "HELO cloudserver094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752152AbcHQAZU (ORCPT ); Tue, 16 Aug 2016 20:25:20 -0400 From: "Rafael J. Wysocki" To: Lv Zheng Cc: "Rafael J. Wysocki" , Len Brown , Lv Zheng , linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org Subject: Re: [PATCH v4 3/3] tools/power/acpi/acpidbg: Add multi-commands support in batch mode Date: Wed, 17 Aug 2016 02:30:50 +0200 Message-ID: <3470775.ryIxlEgpGv@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.8.0-rc1+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <3492bf600484b4d625be1407013eef0062e6246a.1469528980.git.lv.zheng@intel.com> References: <3492bf600484b4d625be1407013eef0062e6246a.1469528980.git.lv.zheng@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, July 26, 2016 07:01:45 PM Lv Zheng wrote: > This patch adds multi-commands support for the batch mode. The same mode > can be seen in acpiexec. > > However people may think this is not useful for an in-kernel debugger, > because the in-kernel debugger is always running, never exits. So we can > run another command by running another acpidbg batch mode instance. > > But this mode should still be useful for acpidbg. The reason is: when the > in-kernel debugger has entered the single-stepping mode, ending acpidbg > (which closes the debugger IO interface) will lead to the end of the > single-stepping mode. > > So we need the acpidbg multi-commands batch mode in order to execute > multiple single-stepping mode commands in scripts. An example would be really useful here IMO. Thanks, Rafael