Hello all,
This week I reworked the stats interface making use of thread local
storage and LD_PRELOAD. This eliminated some of its shortcoming. Now, the
interface:
- is simple to use
- has no impact on regular monkey code
- is no more attached to the sched_list_node variable
- is extensible
- tracked functions can be selected using a shell variable
I had some difficulties and a lot of frustration making LD_PRELOAD work
with thread local storage (some very weird behaviour and bugs), but I
managed to overcome them.
The code can be found here:
https://github.com/kaspersky/monkey/commits/ldpreload
Blogpost: http://kaspersky.github.io/blog/gsoc-week-6/
I would like to thank Eduardo and Sonny for their support up until the
midterm, now looking forward to add python bindings to the library.
--
Regards,
Vladimir Cernov
_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey