X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fdevtools%2Fmonitor-api.json;fp=src%2Fdevtools%2Fmonitor-api.json;h=81d1028ad78ee4d1342a7dba186ea41aca0b9788;hb=fb678ae817f739d9c7208f9165f6c04b2028af26;hp=8361d572164465eefefd23ac4db914ca834b687f;hpb=5fccb2dcb97fac7fbc16d66e947477e41d30a2b4;p=src%2Fapp-framework-binder.git diff --git a/src/devtools/monitor-api.json b/src/devtools/monitor-api.json index 8361d572..81d1028a 100644 --- a/src/devtools/monitor-api.json +++ b/src/devtools/monitor-api.json @@ -138,12 +138,13 @@ "tag": { "type": "string", "description": "tag for grouping traces", "default": "trace" }, "api": { "type": "string", "description": "api for requests, daemons and services" }, "verb": { "type": "string", "description": "verb for requests" }, - "session": { "type": "string", "description": "session for requests" }, + "uuid": { "type": "string", "description": "uuid of session for requests" }, "pattern": { "type": "string", "description": "pattern for events" }, "request": { "$ref": "#/components/schemas/trace-add-request" }, "daemon": { "$ref": "#/components/schemas/trace-add-daemon" }, "service": { "$ref": "#/components/schemas/trace-add-service" }, "event": { "$ref": "#/components/schemas/trace-add-event" }, + "session": { "$ref": "#/components/schemas/trace-add-session" }, "for": { "$ref": "#/components/schemas/trace-add" } }, "examples": [ @@ -267,6 +268,26 @@ "push_before" ] }, + "trace-add-session": { + "anyOf": [ + { "type": "array", "items": { "$ref": "#/components/schemas/trace-session-names" } }, + { "$ref": "#/components/schemas/trace-session-names" } + ] + }, + "trace-session-names": { + "title": "name of traceable items for sessions", + "enum": [ + "*", + "addref", + "all", + "close", + "common", + "create", + "destroy", + "renew", + "unref" + ] + }, "trace-drop": { "anyOf": [ { "type": "boolean" }, @@ -275,7 +296,7 @@ "properties": { "event": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] }, "tag": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] }, - "session": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] } + "uuid": { "anyOf": [ { "type": "string" }, { "type": "array", "items": "string" } ] } } } ]