freebsd-nq/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
cmd_pmc_list.c
cmd_pmc_stat.c
cmd_pmc_summary.cc
cmd_pmc.h
Makefile
pmc_util.c
pmc.c