Oopenvela-robotperf: add perf_setup() support
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
gettid: inline gettid Improved the performance of pthread lock in protected mode from 145ns to 125ns Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
gettid: inline gettid Improved the performance of pthread lock in protected mode from 145ns to 125ns Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
perf: add perf_setup() support backtrace: 0 0x006212d2 in spin_lock_notrace (lock=0x405d8108 <g_perf+24>) at /home/wangzhi/disk/project/specific product-rc04/nuttx/include/nuttx/spinlock.h:161 1 spin_lock_irqsave_notrace (lock=0x405d8108 <g_perf+24>) at /home/wangzhi/disk/project/specific product-rc04/nuttx/include/nuttx/spinlock.h:420 2 spin_lock_irqsave (lock=0x405d8108 <g_perf+24>) at /home/wangzhi/disk/project/specific product-rc04/nuttx/include/nuttx/spinlock.h:468 3 perf_gettime () at clock/clock_perf.c:91 4 0x00619958 in nxsched_critmon_csection (tcb=0x402977d0 <g_idletcb>, state=true, caller=caller@entry=0x61f653 <wd_start_abstick+82>) at sched/sched_critmonitor.c:269 5 0x00613274 in enter_critical_section () at irq/irq_csection.c:121 6 0x0061f652 in wd_start_abstick (wdog=wdog@entry=0x405d80f0 <g_perf>, ticks=<optimised out>, wdentry=0x6213d1 <perf_update>, arg=1079869680) at wdog/wd_start.c:292 7 0x0061f8d6 in wd_start (wdog=wdog@entry=0x405d80f0 <g_perf>, delay=<optimised out>, wdentry=wdentry@entry=0x6213d1 <perf_update>, arg=1079869680) at wdog/wd_start.c:390 8 0x006213b0 in perf_gettime () at clock/clock_perf.c:103 9 0x0063876e in note_common (tcb=tcb@entry=0x402977d0 <g_idletcb>, note=note@entry=0x410a9f70, length=length@entry=26 '\032', type=type@entry=1 '\001') at note/note_driver.c:212 10 0x006389d2 in sched_note_start (tcb=tcb@entry=0x402977d0 <g_idletcb>) at note/note_driver.c:752 11 0x00611ef2 in nx_start () at init/nx_start.c:813 Resolve: let the perf_gettime() don't call wd_start() Signed-off-by: ligd <liguiding1@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
refactor(nuttx/sched): improve error handling and policy differentiation - Redefine scheduling policy constants to match TCB flag bit positions. - Add TCB_FLAG_SCHED_OTHER flag. - Simplify nxsched_get_scheduler() by removing offset. - Refactor nxsched_set_scheduler() to merge policy handling and fix race condition. - Extend TCB flag definitions. Signed-off-by: ganjing <ganjing@xiaomi.com> | 2 个月前 | |
refactor(nuttx/sched): improve error handling and policy differentiation - Redefine scheduling policy constants to match TCB flag bit positions. - Add TCB_FLAG_SCHED_OTHER flag. - Simplify nxsched_get_scheduler() by removing offset. - Refactor nxsched_set_scheduler() to merge policy handling and fix race condition. - Extend TCB flag definitions. Signed-off-by: ganjing <ganjing@xiaomi.com> | 2 个月前 | |
misra_c_10_4: fix CANCEL_FLAG violation operand of unsigned and signed Signed-off-by: fangxinyong <fangxinyong@xiaomi.com> | 2 个月前 | |
tls: split tls.h to tls.h and tls_task.h Signed-off-by: hujun5 <hujun5@xiaomi.com> | 2 个月前 | |
misra_c_10_4: fix CANCEL_FLAG violation operand of unsigned and signed Signed-off-by: fangxinyong <fangxinyong@xiaomi.com> | 2 个月前 | |
misra_c_10_4: fix CANCEL_FLAG violation operand of unsigned and signed Signed-off-by: fangxinyong <fangxinyong@xiaomi.com> | 2 个月前 | |
Remove lib_cxx_initialize in nxtask_startup flat build nx_start_application will call lib_cxx_initialize elf build __start will initialize it in crt0 Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 | |
Merge branch 'master' into vela apache/nuttx commit id: eb27ebba8adfe29644a7b890f86e6f16941921dc Signed-off-by: ligd <liguiding1@xiaomi.com> Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> | 2 个月前 | |
lib_cxx_initialize:remove global variables and lock Flat will call in nx_bringup Protect will call in userspace_entrypoint Kernel build will in ctr0 So, no need global variables and lock Signed-off-by: anjiahao <anjiahao@xiaomi.com> | 2 个月前 |