Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Stefan Hajnoczi
On Tue, Apr 10, 2012 at 3:58 AM, Jason Wang jasow...@redhat.com wrote: To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Michael S. Tsirkin
On Tue, Apr 10, 2012 at 12:40:50PM +0100, Stefan Hajnoczi wrote: On Tue, Apr 10, 2012 at 3:58 AM, Jason Wang jasow...@redhat.com wrote: To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Stefan Hajnoczi
On Tue, Apr 10, 2012 at 1:42 PM, Michael S. Tsirkin m...@redhat.com wrote: On Tue, Apr 10, 2012 at 12:40:50PM +0100, Stefan Hajnoczi wrote: On Tue, Apr 10, 2012 at 3:58 AM, Jason Wang jasow...@redhat.com wrote: To help in vhost analyzing, the following series adding basic tracepoints to

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Zhi Yong Wu
On Tue, Apr 10, 2012 at 8:42 PM, Michael S. Tsirkin m...@redhat.com wrote: On Tue, Apr 10, 2012 at 12:40:50PM +0100, Stefan Hajnoczi wrote: On Tue, Apr 10, 2012 at 3:58 AM, Jason Wang jasow...@redhat.com wrote: To help in vhost analyzing, the following series adding basic tracepoints to

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Michael S. Tsirkin
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

Re: [PATCH 0/2] adding tracepoints to vhost

2012-04-10 Thread Zhi Yong Wu
On Tue, Apr 10, 2012 at 9:45 PM, Michael S. Tsirkin m...@redhat.com wrote: 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

[PATCH 0/2] adding tracepoints to vhost

2012-04-09 Thread Jason Wang
To help in vhost analyzing, the following series adding basic tracepoints to vhost. Operations of both virtqueues and vhost works were traced in current implementation, net code were untouched. A top-like satistics displaying script were introduced to help the troubleshooting. TODO: - net