freebsd-dev/usr.sbin/pmc
Conrad Meyer 11a5c93d51 pmc: Fix stack std::string lifetime
It's invalid to reference a C++ string's c_str() buffer after the object
goes out of scope.  Adjust the scope of the string to match the use in
write(2) to fix the misuse.

CID:		1393383
Reported by:	Coverity
2019-05-22 01:22:33 +00:00
..
cmd_pmc_filter.cc pmc: Fix stack std::string lifetime 2019-05-22 01:22:33 +00:00
cmd_pmc_list.c pmc: mark some dead functions as such 2018-06-09 04:54:36 +00:00
cmd_pmc_stat.c pmc: mark some dead functions as such 2018-06-09 04:54:36 +00:00
cmd_pmc_summary.cc pmc: mark some dead functions as such 2018-06-09 04:54:36 +00:00
cmd_pmc.h hwpmc: add summary command and further metadata extensions 2018-06-06 02:48:09 +00:00
Makefile Standardize -std=c++* as CXXSTD` 2019-03-29 18:45:27 +00:00
pmc_util.c
pmc.c pmc: remove trailing whitespace 2018-06-13 09:17:04 +00:00