From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: [PATCH 0/2] adding tracepoints to vhost Date: Tue, 10 Apr 2012 16:45:22 +0300 Message-ID: <20120410134522.GC18899@redhat.com> References: <20120410025327.49693.93562.stgit@amd-6168-8-1.englab.nay.redhat.com> <20120410124250.GB29808@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: virtualization-bounces@lists.linux-foundation.org Errors-To: virtualization-bounces@lists.linux-foundation.org To: Zhi Yong Wu Cc: virtualization@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, netdev@vger.kernel.org List-Id: virtualization@lists.linuxfoundation.org On Tue, Apr 10, 2012 at 09:10:48PM +0800, Zhi Yong Wu wrote: > >> Perhaps this can replace the vhost log feature? =A0I'm not sure if > >> tracepoints support the right data types but it seems like vhost > >> debugging could be done using tracing with less code. > >> > >> Stefan > > > > vhost log is not a debugging tool, it logs memory accesses for > > migration. > Great, it is very appreciated if there's some docs about this About what? vhost logging? See the comment near the definition of VHOST_SET_LOG_BASE in vhost.h > > _______________________________________________ > > Virtualization mailing list > > Virtualization@lists.linux-foundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/virtualization > = > = > = > -- = > Regards, > = > Zhi Yong Wu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758827Ab2DJORh (ORCPT ); Tue, 10 Apr 2012 10:17:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32641 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751424Ab2DJORg (ORCPT ); Tue, 10 Apr 2012 10:17:36 -0400 Date: Tue, 10 Apr 2012 16:45:22 +0300 From: "Michael S. Tsirkin" To: Zhi Yong Wu Cc: Stefan Hajnoczi , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org Subject: Re: [PATCH 0/2] adding tracepoints to vhost Message-ID: <20120410134522.GC18899@redhat.com> References: <20120410025327.49693.93562.stgit@amd-6168-8-1.englab.nay.redhat.com> <20120410124250.GB29808@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 10, 2012 at 09:10:48PM +0800, Zhi Yong Wu wrote: > >> Perhaps this can replace the vhost log feature?  I'm not sure if > >> tracepoints support the right data types but it seems like vhost > >> debugging could be done using tracing with less code. > >> > >> Stefan > > > > vhost log is not a debugging tool, it logs memory accesses for > > migration. > Great, it is very appreciated if there's some docs about this About what? vhost logging? See the comment near the definition of VHOST_SET_LOG_BASE in vhost.h > > _______________________________________________ > > Virtualization mailing list > > Virtualization@lists.linux-foundation.org > > https://lists.linuxfoundation.org/mailman/listinfo/virtualization > > > > -- > Regards, > > Zhi Yong Wu