smdb: add a "preempt" option
commit769ccd160f55e73a35bad6e0c7fc6c858e38c6e6
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Aug 2021 08:47:40 +0000 (12 11:47 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Thu, 12 Aug 2021 08:47:40 +0000 (12 11:47 +0300)
treeb8d4b9386cf664f47866ea15dd8196381537f9cc
parent66329fbd89afddff0842ba0f9e5149e7e0cc4f85
smdb: add a "preempt" option

When I'm debugging a "sleeping in atomic" bug then I want to know which
functions call this function with a spinlock held.  This option prints
the preempt disabled call tree.  I changed the call_tree code to print
longer call_trees because some of the preempt call tress are very long.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_data/db/smdb.py