Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
7 years ago
Joakim Nohlgård
44d130f535
sys/ps: Add current stack pointer to ps output (DEVELHELP)
7 years ago
MohmadAyman
8da1eb9f7a
ps: provide ISR stackusage information
7 years ago
chrysn
e348a8df80
PS: Display waiting for flags
...
This adds support for the recently introduced thread flags mechanism to
the `ps` module; while previously it would show a thread in state
"(null)" when it is blocked on thread_flags_wait_any or
thread_flags_wait_all, it now shoes the state "bl anyfl" or "bl allfl",
respectively. The labels are kept that short to not mess with the
fixed-width layout.
7 years ago
Oleg Hahm
1777409472
ps: add heap statistics for TLSF (if enabled)
7 years ago
Yonezawa-T2
60c1322505
ps: fix compile error on clang 7.3.0
7 years ago
Kaspar Schleiser
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
7 years ago
Kaspar Schleiser
844f8a491c
sys: ps: adapt to xtimer
8 years ago
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
8 years ago
Oleg Hahm
89b32aefe3
ps: thread_print_all() had the wrong module prefix
8 years ago
Oleg Hahm
7b95b613b2
sys: fix thread_print_all
9 years ago
Oleg Hahm
9a61d8cf1c
core: move optional tcb members to DEVELHELP
9 years ago
René Kijewski
b31e5a8675
core: introduce KERNEL_PID_FIRST and KERNEL_PID_LAST
9 years ago
René Kijewski
9e3830a72b
core: only store the stack size for DEVELHELP
...
`tcp_t::stack_size` is only examined by the shell command `ps` and
`DEBUG_PRINT`. For the latter one only if `DEVELHELP` was enabled.
This PR guards the member `tcp_t::stack_size` in `#ifdef DEVELHELP`.
Only if DEVELHELP was activated its value get printed by `ps`.
Closes #1287 .
9 years ago
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
9 years ago
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
9 years ago
Ludwig Ortmann
295f32ac1b
sys/ps: fix comment style, superfluous declaration
9 years ago
Ludwig Ortmann
70dae32a3f
sys/ps: s/float/int for runtime
...
The high precision isn't needed, use per mille instead.
Circumvents printf problems on some platforms.
Also: prevent division by zero.
9 years ago
René Kijewski
840c0f0a57
make: detect their module name automatically
...
For many modules the `Makefile` contains a line like
```
MODULE:=$(shell basename $(CURDIR))
```
This conclusively shows that we do not have to set the module name
manually.
This PR removes the need to set the module name manually, if it is the
same as the basename. E.g. for `…/sys/vtimer/Makefile` the variable
make `MODULE` will still be `vtimer`, because it is the basename of the
Makefile.
9 years ago
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
9 years ago
Jan S
ba907471f3
fixed printf specifiers
9 years ago
René Kijewski
6a0053fbc8
shell:ps: SCHEDSTATISTICS cols only if needed
9 years ago
Kaspar Schleiser
53347540d1
sys: update ps to reflect thread status variable changes
9 years ago
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
9 years ago
Ludwig Ortmann
9cd5b4f30d
fix stack_size comment in ps.c
10 years ago
Ludwig Ortmann
bcbe6bf5c8
thread_measure_stack_ usage -> free
...
Rename the function as its name suggests the opposite of what it does.
10 years ago
Oleg Hahm
593ee623b6
simplify and unify include pathes
...
additional:
* exporting include path in sys is mandatory for subfolders
* removed duplicate object file in linker call
10 years ago
Ludwig Ortmann
d6c213fb47
fix grammar in license header
10 years ago
Ludwig Ortmann
2c52c0a79d
fix table header indentation
10 years ago
Oleg Hahm
5c039eb4b6
Merge pull request #340 from LudwigOrtmann/ps_includes
...
make ps includes adhere to coding convetions
10 years ago
Ludwig Ortmann
96fe3a16ee
make ps includes adhere to coding convetions
10 years ago
Ludwig Ortmann
d06e0d8717
rename runtime to reflect the unit of measurement
10 years ago
Oleg Hahm
2f14997124
fixed debug output for ps and vtimer
10 years ago
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
10 years ago
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
10 years ago
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
10 years ago
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
10 years ago
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
10 years ago
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
10 years ago