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:
parent
f912cc9cb2
commit
7a6c872870
1 changed files with 15 additions and 0 deletions
|
@ -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
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue