rtdm open call stack

rt_dev_open() 调用的call stack

[  104.551480] [<bf022bf0>] (rti2c_open+0x0/0x8c [xeno_rti2c]) from [<c00a3b38>] (__rt_dev_open+0x94/0xe4)

[  104.566155] [<c00a3aa4>] (__rt_dev_open+0x0/0xe4) from [<c00a57f4>] (sys_rtdm_open+0x68/0x78)
[  104.583446] [<c00a578c>] (sys_rtdm_open+0x0/0x78) from [<c007dbc8>] (hisyscall_event+0x16c/0x324)
[  104.598725] [<c007da5c>] (hisyscall_event+0x0/0x324) from [<c006fec0>] (ipipe_syscall_hook+0x3c/0x48)
[  104.609151] [<c006fe84>] (ipipe_syscall_hook+0x0/0x48) from [<c006e7ec>] (__ipipe_notify_syscall+0x88/0x10c)
[  104.620274] [<c006e764>] (__ipipe_notify_syscall+0x0/0x10c) from [<c0016350>] (__ipipe_syscall_root+0x6c/0xe8)

[  104.631576] [<c00162e4>] (__ipipe_syscall_root+0x0/0xe8) from [<c000fc5c>] (vector_swi+0x5c/0xb4)

从primary mode调用rt_dev_open()使用open_rt的接口;

从primary mode调用rt_dev_close()使用close_rt的接口;

从Second mode调用rt_dev_close()将调用close_nrt的接口;


[调试经验]

实时任务导致: RT throttling activated


 [<bf022ce8>] (rti2c_close+0x0/0x34 [xeno_rti2c]) from [<c00a33c8>] (__rt_dev_close+0x128/0x360)
  r4:c157a640 r3:bf022ce8
 [<c00a32a0>] (__rt_dev_close+0x0/0x360) from [<c00a575c>] (sys_rtdm_close+0x28/0x2c)
  r8:c157a640 r7:00000000 r6:00000050 r5:c4a0c610 r4:c164dfb0 r3:c164dfb0
 [<c00a5734>] (sys_rtdm_close+0x0/0x2c) from [<c007dbc8>] (hisyscall_event+0x16c/0x324)
 [<c007da5c>] (hisyscall_event+0x0/0x324) from [<c006fec0>] (ipipe_syscall_hook+0x3c/0x48)
 [<c006fe84>] (ipipe_syscall_hook+0x0/0x48) from [<c006e7ec>] (__ipipe_notify_syscall+0x88/0x10c)
 [<c006e764>] (__ipipe_notify_syscall+0x0/0x10c) from [<c0016350>] (__ipipe_syscall_root+0x6c/0xe8)
 [<c00162e4>] (__ipipe_syscall_root+0x0/0xe8) from [<c000fc5c>] (vector_swi+0x5c/0xb4)
-------------------------------------------------------------------------------------------------------
[<bf022cb4>] (rti2c_close_nrt+0x0/0x34 [xeno_rti2c]) from [<c00a33c8>] (__rt_dev_close+0x128/0x360)
  r4:00000000 r3:bf022cb4
 [<c00a32a0>] (__rt_dev_close+0x0/0x360) from [<c00a3c3c>] (cleanup_owned_contexts+0x94/0xb4)
  r8:000011a0 r7:c067c8a4 r6:c05b932c r5:000011a0 r4:00000002 r3:00000001
 [<c00a3ba8>] (cleanup_owned_contexts+0x0/0xb4) from [<c00a588c>] (rtdm_skin_callback+0x88/0xa4)
 [<c00a5804>] (rtdm_skin_callback+0x0/0xa4) from [<c007c4cc>] (detach_ppd+0x30/0x4c)
  r4:c066e868 r3:c00a5804
 [<c007c49c>] (detach_ppd+0x0/0x4c) from [<c007c5f0>] (cleanup_event+0x108/0x188)
  r4:00000000 r3:c05b932c
 [<c007c4e8>] (cleanup_event+0x0/0x188) from [<c006ff2c>] (ipipe_kevent_hook+0x28/0x30)
 [<c006ff04>] (ipipe_kevent_hook+0x0/0x30) from [<c006e95c>] (__ipipe_notify_kevent+0x40/0x60)
 [<c006e91c>] (__ipipe_notify_kevent+0x0/0x60) from [<c002ef58>] (mmput+0x4c/0xe0)
  r6:00000000 r5:00000000 r4:c163e200 r3:c163e228
 [<c002ef0c>] (mmput+0x0/0xe0) from [<c0032d8c>] (exit_mm+0xf4/0x120)
  r5:c157a380 r4:c163e200
 [<c0032c98>] (exit_mm+0x0/0x120) from [<c003436c>] (do_exit+0x1d8/0x6a4)
  r7:c05b932c r6:c1660000 r5:00000100 r4:c157a380
 [<c0034194>] (do_exit+0x0/0x6a4) from [<c0034b28>] (do_group_exit+0x94/0xc4)
  r7:c05b932c
 [<c0034a94>] (do_group_exit+0x0/0xc4) from [<c003f13c>] (get_signal_to_deliver+0x3f8/0x43c)
  r4:00418004 r3:c157a380
 [<c003ed44>] (get_signal_to_deliver+0x0/0x43c) from [<c0012a30>] (do_signal+0x90/0x524)
 [<c00129a0>] (do_signal+0x0/0x524) from [<c0013414>] (do_notify_resume+0x20/0x50)
 [<c00133f4>] (do_notify_resume+0x0/0x50) from [<c000fb7c>] (work_pending+0x24/0x28)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值