commit | 893bff51bcf220b724a812d340d878b5fb8ce911 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Sun Aug 26 11:35:44 2018 -0700 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Sun Aug 26 11:35:44 2018 -0700 |
tree | 3699d3f6d33f46221e37024162efe1b2071762f9 | |
parent | 69867c523b334028c90f2acf22b5ae528fdc2356 [diff] |
Avoid static initialization of pprof path for symbolization. This is one of the things that chrome's fork fixes, but with c++11 we can do it even nicer. Proposed fix is to use c++11 local static variable to ensure that pprof path is initialized once on as-needed basis.