Robustify accesses to server config
This commit is contained in:
parent
d36faa340a
commit
ac92e09262
14 changed files with 238 additions and 192 deletions
|
@ -6,6 +6,7 @@
|
|||
#include "defines.h"
|
||||
#include "timing.h"
|
||||
#include "procs.h"
|
||||
#include "dtsc.h"
|
||||
#include <errno.h> // errno, ENOENT, EEXIST
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
|
@ -564,6 +565,13 @@ namespace Util{
|
|||
r << std::endl;
|
||||
break;
|
||||
}
|
||||
case RAX_DTSC:{
|
||||
char * ptr = getPointer(it->first, i);
|
||||
size_t sz = getSize(it->first, i);
|
||||
r << std::endl;
|
||||
r << DTSC::Scan(ptr, sz).toPrettyString(indent+6) << std::endl;
|
||||
break;
|
||||
}
|
||||
default: r << "[UNIMPLEMENTED]" << std::endl; break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue