Juan Carrano
cf686bde2d
pkg/tlsf: Refactor the TLSF package and bring back original TLSF api.
...
- Cleanup package makefile.
- Download directly from git.
- Remove giant patch.
- Implement malloc function as a contrib package.
- Update ccn example.
- Update ps command.
2018-05-18 15:41:07 +02:00
2a177ea6c8
sys/ps: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
smlng
3ac6d6c80d
schedstats: refine ps output
...
- use unsigned int instead of double
2017-06-09 10:50:07 +02:00
Sebastian Meiling
dd4f8f7704
Merge pull request #6975 from OTAkeys/pr/ps_schedstatistics_fix
...
ps: fix schedstatistics
2017-05-17 13:50:42 +02:00
Vincent Dupont
6d5b95517d
ps: fix schedstatistics
...
Fix xtimer_now() usage and fix columns alignment in ps command when
module schedstatistics is used.
2017-05-16 10:33:42 +02:00
Hauke Petersen
383d49412e
sys/ps: only show isr stack stats if applicable
2017-05-12 18:07:07 +02:00
Martine Lenders
04823b9192
ps: add state name for STATUS_MBOX_BLOCKED
2017-02-14 16:02:27 +01:00
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
2016-07-12 10:17:49 +02:00
Joakim Nohlgård
44d130f535
sys/ps: Add current stack pointer to ps output (DEVELHELP)
2016-07-12 10:17:48 +02:00
MohmadAyman
8da1eb9f7a
ps: provide ISR stackusage information
2016-06-02 09:48:37 +02:00
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.
2016-05-31 18:27:14 +02:00
Oleg Hahm
1777409472
ps: add heap statistics for TLSF (if enabled)
2016-05-27 13:48:06 +02:00
Yonezawa-T2
60c1322505
ps: fix compile error on clang 7.3.0
2016-03-23 12:25:14 +09:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
844f8a491c
sys: ps: adapt to xtimer
2015-09-16 10:58:51 +02:00
Joakim Gebart
13832d8e62
everything: Remove filename from @file Doxygen command
2015-05-22 07:34:41 +02:00
Oleg Hahm
89b32aefe3
ps: thread_print_all() had the wrong module prefix
2015-04-19 16:36:05 +02:00
Oleg Hahm
7b95b613b2
sys: fix thread_print_all
2014-10-30 20:16:48 +01:00
Oleg Hahm
9a61d8cf1c
core: move optional tcb members to DEVELHELP
2014-10-30 16:37:10 +01:00
René Kijewski
b31e5a8675
core: introduce KERNEL_PID_FIRST and KERNEL_PID_LAST
2014-08-17 19:50:34 +02:00
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 .
2014-08-02 00:35:41 +02:00
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.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
3ca4f18479
doc: use lgplv2.1-short license header instead of lgpl-short-riot
2014-07-31 22:57:20 +02:00
Ludwig Ortmann
295f32ac1b
sys/ps: fix comment style, superfluous declaration
2014-07-04 16:38:22 +02:00
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.
2014-07-04 16:38:22 +02:00
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.
2014-06-17 15:49:32 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Jan S
ba907471f3
fixed printf specifiers
2014-05-15 17:42:57 +02:00
René Kijewski
6a0053fbc8
shell:ps: SCHEDSTATISTICS cols only if needed
2014-05-08 10:27:33 +02:00
53347540d1
sys: update ps to reflect thread status variable changes
2014-02-17 12:57:27 +01:00
Ludwig Ortmann
2525920426
remove trailing whitespace and newlines
2014-02-11 18:45:06 +01:00
Ludwig Ortmann
9cd5b4f30d
fix stack_size comment in ps.c
2014-01-20 10:54:14 +01:00
Ludwig Ortmann
bcbe6bf5c8
thread_measure_stack_ usage -> free
...
Rename the function as its name suggests the opposite of what it does.
2014-01-20 10:46:20 +01:00
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
2014-01-05 16:11:07 +01:00
Ludwig Ortmann
d6c213fb47
fix grammar in license header
2013-11-23 13:11:56 +01:00
Ludwig Ortmann
2c52c0a79d
fix table header indentation
2013-11-21 22:09:42 +01:00
Oleg Hahm
5c039eb4b6
Merge pull request #340 from LudwigOrtmann/ps_includes
...
make ps includes adhere to coding convetions
2013-11-19 08:48:49 -08:00
Ludwig Ortmann
96fe3a16ee
make ps includes adhere to coding convetions
2013-11-18 18:00:35 +01:00
Ludwig Ortmann
d06e0d8717
rename runtime to reflect the unit of measurement
2013-11-18 12:14:43 +01:00
Oleg Hahm
2f14997124
fixed debug output for ps and vtimer
2013-11-03 07:30:41 -08:00
Oliver Hahm
c8bee9e554
fixed coding style (space after most keywords)
2013-06-24 22:37:35 +02:00
Oliver Hahm
5c52e1ce2e
coding conventions for most of system libraries
2013-06-22 05:11:53 +02:00
Oliver Hahm
0d6d8390c0
* updated copyright and license headers in various files
2013-06-18 17:21:38 +02:00
Oliver Hahm
7a4dec1830
* replaced new Makefile name in Makefiles
2013-03-09 23:47:21 +01:00
Oliver Hahm
5ffe5a9c27
* renamed makefiles to Makefile
2013-03-09 23:45:56 +01:00
Oleg Hahm
5df0bd0cc4
* updated and integrated makefiles
...
* added some auto dependencies
2013-02-08 17:37:02 +01:00