commit | 257ee10967ab61d497cd207ed38b3fcd564bb79c | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | Mon Feb 12 09:07:05 2018 +0000 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Tue Feb 13 10:49:00 2018 +0000 |
tree | a16fd61d40cad8a5fb75d6bd9d307375f4b5069e | |
parent | 4792f40f6a05b33a61f8eaec936c233213ebe55d [diff] |
log: Use sys._getframe() to avoid stat(2) calls The Osmo MS driver is launching many many processes and I would like to use the logging framework for the code as well. Unfortunately the inspect/traceback code will use a linecache which will execute stat(2) on one or more python files. Related: OS#2927 Change-Id: I8f6bacadcf74d3aa25db1e1f41644f64aa19cf92