Please don't drop the list.

You need to use the usual Linux kernel tools, such as printk, to debug
the kernel module.

On Wed, Nov 04, 2015 at 01:35:56AM +0800, wenhao...@gmail.com wrote:
>  Then what should i do to debug in datapath? Is there any other way to get 
> information from this module? or even i'm not expected to modify this 
> module?<br><br>besides, do you use any ide to develop ovs that works 
> well?<br><br>thx a lot.<div class="quote" style="line-height: 
> 1.5"><br><br>-------- Original Message --------<br>Subject: Re: [ovs-dev] How 
> to use vlog in 'datapath' module?<br>From: Ben Pfaff <b...@nicira.com><br>To: 
> wenhao...@gmail.com<br>CC: dev@openvswitch.org<br><br><br 
> type="attribution"><blockquote class="quote" style="margin:0 0 0 
> .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Nov 03, 2015 at 
> 11:46:14PM +0800, wenhao...@gmail.com wrote:<br>> I'm trying to add something 
> into datapath module and need to use vlog<br>> for debugging.<br>> <br>> I 
> tried to put <br>> #include "vlog.h" <br>> at the biginning of datapath.c as 
> well as <br>> VLOG_DEFINE_THIS_MODULE(datapath);<br>> I still got nothing in 
> /var/log/openvswitch/ovs-vswitchd.log from the function<br>> VLOG_INFO("HELLO 
> WORLD");<br>> in ovs_dp_process_packet function.<br>> <br>> what should i 
> do?<br><br>datapath.c is part of the kernel, it's not going to work to use 
> the OVS<br>userspace logging.  It won't even compile.<br></blockquote></div>
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to