]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/utils/decorators: Fix up frame selection
authorNathan Rossi <nathan.rossi@xilinx.com>
Thu, 16 Apr 2015 08:29:24 +0000 (18:29 +1000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Apr 2015 06:19:05 +0000 (07:19 +0100)
commita44d27b92baba4ab51f432ec01cdc473436ce406
treea1167e8d9c490c6028addb901437821451866b25
parentfbe6d2c12aa9f7956bc87efeb68cb64b26b60c7a
oeqa/utils/decorators: Fix up frame selection

Use threading to get the current threads ident to select the current
executing frame to ensure that the scanned stack is the expected stack.

This allows for the decorators to be used within a process that has
multiple threads executing.

Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/decorators.py