mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-06 01:11:46 +00:00
parent
5fec78fcd6
commit
2d8a4917a5
@ -71,6 +71,19 @@ class Genode::Trace::Subject_info
|
|||||||
|
|
||||||
enum State { INVALID, UNTRACED, TRACED, FOREIGN, ERROR, DEAD };
|
enum State { INVALID, UNTRACED, TRACED, FOREIGN, ERROR, DEAD };
|
||||||
|
|
||||||
|
static char const *state_name(State state)
|
||||||
|
{
|
||||||
|
switch (state) {
|
||||||
|
case INVALID: return "INVALID";
|
||||||
|
case UNTRACED: return "UNTRACED";
|
||||||
|
case TRACED: return "TRACED";
|
||||||
|
case FOREIGN: return "FOREIGN";
|
||||||
|
case ERROR: return "ERROR";
|
||||||
|
case DEAD: return "DEAD";
|
||||||
|
}
|
||||||
|
return "INVALID";
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
Session_label _session_label;
|
Session_label _session_label;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user