You may want to give VLOG_ERR() a try. It can be used pretty much like printf, except the output goes into ovs-vswitchd.log. Grep for "VLOG" in OVS code base if you want examples.
On Sat, Mar 22, 2014 at 11:18 AM, Nagashree Sharma <sharma.nagash...@gmail.com> wrote: > Hi , > > I am trying to play around with Openvswitch source code. To understand the > code flow , I tried adding printf's or printk in > openvswitch/include/openvswitch/types.h file but there is a compilation > error. Please can you help me to find a way to add printf's? > > Thanks, > Nagashree. > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev > _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev