sched/dumpstack: raise the stack dump level to emergency
since sometimes dumpstack will be used in extreme situations(eg. assert) Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
83edd2fbba
commit
0161da4415
@ -69,8 +69,7 @@ void sched_dumpstack(pid_t tid)
|
||||
DUMP_FORMAT, DUMP_WIDTH, address[i]);
|
||||
if (i == size - 1 || ret % DUMP_LINESIZE == 0)
|
||||
{
|
||||
syslog(LOG_INFO, "[BackTrace|%2d|%d]: %s\n",
|
||||
tid, i / DUMP_NITEM, line);
|
||||
syslog(LOG_EMERG, "backtrace|%2d: %s\n", tid, line);
|
||||
ret = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user