On May 17, 2013, at 3:27 AM, Priyanka Kapoor wrote:

> On Thu, May 16, 2013 at 9:13 PM, Christopher Sean Morrison
> <brl...@mac.com> wrote:
>> The framebuffer files are listed in the wiki description on the project 
>> ideas page.  Basically, it's a new >if-dbg.c file in src/libfb with all the 
>> callback hooks implemented to call bu_log() for each function, and >then 
>> hooking it in so it's exposed like the other fb interfaces.
> 
> I had made this file. Used new function , actually same as in if_debug
> file but names are changed.
> bu_log() function is called for each function call. It compiled smoothly.
> Just want to know where these bu_log() results  , I can see. Need to
> check it, before submitting as a patch.

Priyanka,

That is the task... Given your project is substantially harder, you may need to 
reduce your project scope or try a different patch instead.  Here are two from 
our bugs file:

* rt is consuming 100% CPU in fb_close() on a lingering ogl
  framebuffer waiting to close.  needs to sleep or select for a while.

* /dev/oglb 'copy mode' fails to refresh the framebuffer

Otherwise, you should see your logging if you run the "fbserv" command (which 
has a man page on how to use it) with "rt -F0 ..." or stand-alone with "rt 
-F/dev/dbg ..." (also has a man page) if you hooked it in correctly.

Sean


------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to