Skip to content

Commit

Permalink
core: mem/qm - test cfg core mem_status_all to print memory status
Browse files Browse the repository at this point in the history
(cherry picked from commit acccc6c)
  • Loading branch information
miconda committed Sep 8, 2016
1 parent 92adadf commit 9cf3dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem/q_malloc.c
Expand Up @@ -793,7 +793,7 @@ void qm_status(void* qmp)
"dumping all alloc'ed. fragments:\n");
for (f=qm->first_frag, i=0;(char*)f<(char*)qm->last_frag_end;f=FRAG_NEXT(f)
,i++){
if (! f->u.is_free){
if ((! f->u.is_free) || (cfg_get(core, core_cfg, mem_status_all)!=0)){
LOG_(DEFAULT_FACILITY, memlog, "qm_status: ",
" %3d. %c address=%p frag=%p size=%lu used=%d\n",
i,
Expand Down

0 comments on commit 9cf3dd6

Please sign in to comment.