gdb: added add_event api
profiler: add events callbacks
cli code review
update gitignore