Skip to content
Snippets Groups Projects
Commit b332b004 authored by Avi Kivity's avatar Avi Kivity
Browse files

Merge branch 'master' of github.com:cloudius-systems/osv

Don't waste power during idle.
parents 3b1a19aa f0984bb1
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,7 @@
#include <iomanip>
#include "boost/format.hpp"
#include "drivers/console.hh"
#include "sched.hh"
#include "debug.hh"
using namespace std;
......@@ -95,7 +96,8 @@ void logger::log(const char* tag, logger_severity severity, const boost::format&
return;
}
debug(fmt("[%s/%s]: ") % loggable_severity(severity) % tag, false);
unsigned long tid = sched::thread::current()->id();
debug(fmt("[%s/%d %s]: ") % loggable_severity(severity) % tid % tag, false);
debug(_fmt, true);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment