Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix test failure in test_libbcc (iovisor#603)
On some systems, was seeing a failure at tests/cc/test_c_api.cc:172 due to failure to open the /tmp/perf-pid.map file. Looking through the code, narrowed it down to an invalid use of c_str() on a temporary std::string. Fix it by storing the string in a variable. Signed-off-by: Brenden Blanco <[email protected]>
- Loading branch information