yinshengkai
|
29a7d267fb
|
note: correct systime with perf count
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2023-02-23 22:30:07 +08:00 |
|
yinshengkai
|
55ce5d0511
|
note: remove SCHED_INSTRUMENTATION_HIRES
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2023-02-23 22:30:07 +08:00 |
|
chao an
|
ee1e1108a7
|
drivers/note: fix build break by note rename change
Regression by:
| commit ee24396d77
| Author: Xiang Xiao <xiaoxiang@xiaomi.com>
| Date: Tue Feb 14 01:11:48 2023 +0800
|
| drivers/note: Change DRIVER_NOTExxx to DRIVERS_NOTExxx
|
| follow other driver config style
|
| Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Signed-off-by: chao an <anchao@xiaomi.com>
|
2023-02-20 16:19:57 +08:00 |
|
pengyiqiang
|
b1773934fe
|
note_driver: fix build error
note/note_driver.c: In function 'note_isenabled':
note/note_driver.c:278:7: error: invalid type argument of unary '*' (have 'int')
278 | if (CPU_ISSET(&g_note_filter.mode.cpuset, this_cpu()) == 0)
| ^~~~~~~~~
note/note_driver.c:278:7: error: invalid operands to binary << (have 'int' and 'volatile cpu_set_t *' {aka 'volatile unsigned char *'})
278 | if (CPU_ISSET(&g_note_filter.mode.cpuset, this_cpu()) == 0)
| ^~~~~~~~~
| |
| volatile cpu_set_t * {aka volatile unsigned char *}
Signed-off-by: pengyiqiang <pengyiqiang@xiaomi.com>
|
2023-02-01 14:30:33 +08:00 |
|
yinshengkai
|
77466742c7
|
drivers/segger: register sysview to note drivers list
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2023-01-05 22:04:52 +08:00 |
|
Xiang Xiao
|
98ab55ef68
|
drivers/note: Replace the scritical section with spin_xxx_wo_note
to avoid to generate the unexpected schedule information
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-01-04 00:21:18 +02:00 |
|
Xiang Xiao
|
cc9166274a
|
drivers/note: Fix the mismatch of va_end call
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-12-31 14:57:47 +02:00 |
|
yinshengkai
|
64b6df42a4
|
drivers/note: register notelog device
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-12-30 22:21:12 +08:00 |
|
yinshengkai
|
bc7c520eca
|
drivers/note: add note_syscall_enter parameter list
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-12-29 09:25:54 -03:00 |
|
yinshengkai
|
dd32eccfc3
|
drivers/note: Move taskname related functions to note_driver.c
so all note drivers can retrieve the task name even after the task exit
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-12-26 15:03:57 +08:00 |
|
yinshengkai
|
6f66c0ea0b
|
drivers/note: sched_note support mulit-channel
call callbacks for different channels in sched_note_*
noteram channel is enabled by default
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-12-17 19:41:21 +08:00 |
|
Xiang Xiao
|
06842c824a
|
sched/note: Change sched_note_[begin|end] to macro
improve the speed
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-12-16 12:20:53 +02:00 |
|
yinshengkai
|
552cf4b549
|
merge sched_note_spinxx into sched_note_spincommon
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
|
2022-12-16 17:03:53 +08:00 |
|
Xiang Xiao
|
03f07effc9
|
drivers/note: Fix the style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-12-14 21:24:13 +02:00 |
|
Xiang Xiao
|
126c93015f
|
drivers/node: Rename sched_note.c to to note_driver.c
prepare to support the multiple note driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-12-14 21:24:13 +02:00 |
|
Xiang Xiao
|
d7307ef26c
|
drivers/node: Rename note_register to note_initialize
prepare to support the multiple note driver
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-12-14 21:24:13 +02:00 |
|
chao.an
|
e04ccba78a
|
note/sysview: add Segger System View support
Reference:
https://www.segger.com/products/development-tools/systemview
https://github.com/SEGGERMicro/SystemView
https://github.com/SEGGERMicro/RTT
Signed-off-by: chao.an <anchao@xiaomi.com>
|
2022-01-29 17:26:04 +08:00 |
|
Nakamura, Yuuichi
|
6efecd2105
|
Add notectl driver
|
2020-10-06 03:26:46 +08:00 |
|
Xiang Xiao
|
77ae03788a
|
note: Rename note driver to noteram driver
to reflect this is just a normal note driver with ram buffer
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2020-09-15 14:55:22 +08:00 |
|
Xiang Xiao
|
0c3930ba11
|
sched: Rename note_add to sched_note_add
to better match other sched_note_* function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2020-09-12 08:42:30 -07:00 |
|
Xiang Xiao
|
952af92690
|
sched/note: Move the circle buffer code to driver
so the format code can be shared by different transport
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2020-09-07 11:54:10 +08:00 |
|
Xiang Xiao
|
f99719e260
|
Move note driver from drivers/syslog to drivers/note
it's better to put the note transport layer into a common folder
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2020-09-07 11:54:10 +08:00 |
|