10 2018 档案

ftrace: tracing linux function calls
摘要:First confirm that you have root privilege. Second check the config of kernel that you have the configs on: Last you confirm you have your debugfs/tra 阅读全文

posted @ 2018-10-28 16:26 三叁 阅读(198) 评论(0) 推荐(0)

lock: mutex/spinlock/shared lock
摘要:mutex( x lock): when a mutex lock is obtained, others cannot obtain the same mutex while the lock is not freed. shared lock( s lock): when a shared lo 阅读全文

posted @ 2018-10-25 00:26 三叁 阅读(182) 评论(0) 推荐(0)

event based: libev libevent libuv
摘要:libev First let's talk about libev, it is a lib used in ss. The coding style of libev is ugly. To see man page of libev by: man ./ev.3 3 files need to 阅读全文

posted @ 2018-10-19 03:13 三叁 阅读(366) 评论(0) 推荐(0)

导航