0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

modules/console: Add vg cmd.

This commit is contained in:
Jason Volk 2019-09-09 17:53:09 -07:00
parent f912cc9cb2
commit 7a6c872870

View file

@ -1157,6 +1157,21 @@ console_cmd__mem__get(opt &out, const string_view &line)
return true;
}
//
// vg
//
bool
console_cmd__vg(opt &out, const string_view &line)
{
if(vg::active())
out << "running on valgrind" << std::endl;
else
out << "bare metal" << std::endl;
return true;
}
//
// prof
//