[riot-commits] [RIOT-OS/RIOT] 9e3830: core: only store the stack size for DEVELHELP

René Kijewski kijewski at mi.fu-berlin.de
Tue Aug 5 18:56:29 CEST 2014


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 9e3830a72b613f979ce6d343a1c779dda88abb49
      https://github.com/RIOT-OS/RIOT/commit/9e3830a72b613f979ce6d343a1c779dda88abb49
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-08-02 (Sat, 02 Aug 2014)

  Changed paths:
    M core/include/tcb.h
    M core/thread.c
    M sys/ps/ps.c

  Log Message:
  -----------
  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.


  Commit: f7bdc7e4fe307ed50507fa36e5ade93c512492a3
      https://github.com/RIOT-OS/RIOT/commit/f7bdc7e4fe307ed50507fa36e5ade93c512492a3
  Author: René Kijewski <rene.kijewski at fu-berlin.de>
  Date:   2014-08-02 (Sat, 02 Aug 2014)

  Changed paths:
    M core/include/thread.h
    M core/thread.c

  Log Message:
  -----------
  core: thread_measure_stack_free() is only useful for DEVELHELP


  Commit: a5fe9078c895ce4bcfcf47834df6e6a03880af49
      https://github.com/RIOT-OS/RIOT/commit/a5fe9078c895ce4bcfcf47834df6e6a03880af49
  Author: René Kijewski <kijewski at mi.fu-berlin.de>
  Date:   2014-08-05 (Tue, 05 Aug 2014)

  Changed paths:
    M core/include/tcb.h
    M core/include/thread.h
    M core/thread.c
    M sys/ps/ps.c

  Log Message:
  -----------
  Merge pull request #1293 from Kijewski/issue-1287

core: only store the stack size for DEVELHELP (implementation)


Compare: https://github.com/RIOT-OS/RIOT/compare/3912e5e6322f...a5fe9078c895


More information about the commits mailing list