上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 39 下一页
摘要: kill一个pthread_test.bin测试程序主线程、子线程退出kernel flow 以下blog基于andorid Q,kernel 4.19 pthread_test.bi是执行pthread_test.bin的主线程,在这个主线程里会创建pthread_test_name线程 执行ki 阅读全文
posted @ 2021-10-22 12:02 aspirs 阅读(135) 评论(0) 推荐(0)
摘要: signal bit operation include/linux/signal.h #define _SIG_SET_BINOP(name, op) \ static inline void name(sigset_t *r, const sigset_t *a, const sigset_t 阅读全文
posted @ 2021-10-22 11:03 aspirs 阅读(77) 评论(0) 推荐(0)
摘要: pthread PTHREAD_CREATE_DETACHED pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); 在任何一个时间点上,线程是可结合的(joinable),或者是分离的(detached)。一个可结合的线程能够被其 阅读全文
posted @ 2021-10-20 22:10 aspirs 阅读(53) 评论(0) 推荐(0)
摘要: 信号发送处理流程: https://www.cnblogs.com/sunsky303/p/10838610.html 阅读全文
posted @ 2021-10-20 17:03 aspirs 阅读(48) 评论(0) 推荐(0)
摘要: sdcardfs sdcardfs_read() call flow [ 70.421020] CPU: 0 PID: 4007 Comm: Binder:2841_2 Tainted: P O 4.19.116+ #21 [ 70.429301] Hardware name: xxx (DT) [ 阅读全文
posted @ 2021-10-19 17:02 aspirs 阅读(223) 评论(0) 推荐(0)
摘要: ARM registers arm register alias 4.19\arch\arm64\kernel\Asm-offsets.c DEFINE(S_X0, offsetof(struct pt_regs, regs[0])); DEFINE(S_X1, offsetof(struct pt 阅读全文
posted @ 2021-10-18 15:26 aspirs 阅读(256) 评论(0) 推荐(0)
摘要: PowerManagerService.WakeLocks wake lock acquire call stack Line 5713: 09-19 09:06:40.206 3291 3291 E power : in acquire_wake_lock: is pmswakelocks. Li 阅读全文
posted @ 2021-10-14 18:06 aspirs 阅读(188) 评论(0) 推荐(0)
摘要: cpp test program #include <iostream> using namespace std; int main() { const char* id = "PowerManagerService.WakeLocks"; std::string pmswakelocks = "P 阅读全文
posted @ 2021-10-14 17:13 aspirs 阅读(36) 评论(0) 推荐(0)
摘要: apm-emulation driver framework 在suspend_prepare()里会call error = __pm_notifier_call_chain(PM_SUSPEND_PREPARE, -1, &nr_calls); 因为apm-emulation有注册关于此的cal 阅读全文
posted @ 2021-10-14 12:31 aspirs 阅读(92) 评论(0) 推荐(0)
摘要: android STR suspend/resume framework console:/sys/power # cat wake_lock PowerManager.SuspendLockout PowerManagerService.Display console:/sys/power # c 阅读全文
posted @ 2021-10-14 11:39 aspirs 阅读(1328) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 39 下一页