yinshengkai
|
ddb87d3b86
|
clock: replace all up_perf_xx with perf_xx
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-10-02 16:11:43 +02:00 |
|
xuxin19
|
e5ee8f7470
|
Fix error: procfs/fs_procfscritmon.c:184:10: error: variable 'remaining' set but not used [-Werror,-Wunused-but-set-variable]
Signed-off-by: xuxin19 <xuxin19@xiaomi.com>
|
2023-09-11 20:34:46 +08:00 |
|
Xiang Xiao
|
149cafe450
|
procfs: Add g_ prefix to all procfs_operations
to conform the coding style
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2023-04-22 03:33:50 -04:00 |
|
Xiang Xiao
|
a24ae559c2
|
arch: Decouple up_critmon_[gettime|convert] from critmon
and rename to up_perf_[gettime|convert] since it's useful in other case
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-01-25 14:43:34 +08:00 |
|
Xiang Xiao
|
77792a1598
|
sched: Define CONFIG_SMP_NCPUS to 1 in no SMP case
to simplify the SMP related code logic
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-01-20 23:21:21 +08:00 |
|
Xiang Xiao
|
1b77ae88ef
|
fs/procfs: Remove the unnecessary strcmp
since the procfs already make the same check for us
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-01-12 07:19:40 +01:00 |
|
ligd
|
2c775bb0c9
|
fs/procfs: fix heap overflow when snprintf meet long string
Change-Id: I90f2d9fab55b6e69f159855af3d6dbcb81142eb8
Signed-off-by: ligd <liguiding1@xiaomi.com>
|
2021-07-02 08:25:02 -05:00 |
|
Alin Jerpelea
|
f9fb182809
|
Author: Gregory Nutt: update licenses to Apache
Update files from Gregory Nutt to Apache 2.0 license.
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
|
2021-02-05 12:15:56 -03:00 |
|
Xiang Xiao
|
9dff16e0e4
|
fix nxstyle warning
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: Ieaf325c899d1c349d64dfa15bddcc32afd1fce42
|
2020-07-10 21:30:02 +01:00 |
|
Xiang Xiao
|
e57f7cf6ae
|
Critical Section Monitor (sched/ and fs/procfs: Remove SCHED_IRQMONITOR_GETTIME to simplify the clock source selection: (1) Use up_critmon_gettime if SCHED_IRQMONITOR, (2) Call clock_systimespec if SCHED_TICKLESS, (3) Don't collect timing info for all other cases and move up_critmon_* to arch.h avoid the duplicated declaration.
|
2019-01-27 10:13:28 -06:00 |
|
Gregory Nutt
|
095b597d34
|
sched/sched and fs/procfs: Fix some bus in critical section monitor found in testing
|
2018-11-24 17:58:35 -06:00 |
|
Gregory Nutt
|
807d5bb4ae
|
Critical Section Monitor: Add low level timer support for simulation. Fix serial bugs and logic errors in initial implementation. Still does not work; takes assertions.
|
2018-11-24 15:07:12 -06:00 |
|
Gregory Nutt
|
85c31fd4a2
|
fs/procfs/fs_procfscritmon.c and sched/sched/sched_critmonitor.c: Add support for global pre-emption and global critical sections to monitor as suggested by Xiang Xaio.
|
2018-11-24 13:33:37 -06:00 |
|