From a0becbe5179cf8975bd94d23f80f49b5a6906531 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 3 Oct 2018 15:40:09 +0200 Subject: [PATCH] fixup! gluon-debug: add new package to debug process runtime --- package/gluon-debug/src/respondd.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package/gluon-debug/src/respondd.c b/package/gluon-debug/src/respondd.c index c80e22a2..981bdf21 100644 --- a/package/gluon-debug/src/respondd.c +++ b/package/gluon-debug/src/respondd.c @@ -71,11 +71,11 @@ static struct json_object * respondd_provider_statistics(void) { struct json_object *process = json_object_new_object(); - json_object_object_add(process, "n", gluonutil_wrap_string(name)); - json_object_object_add(process, "u", json_object_new_int(utime)); - json_object_object_add(process, "s", json_object_new_int(stime)); - json_object_object_add(process, "cu", json_object_new_int(cutime)); - json_object_object_add(process, "cs", json_object_new_int(cstime)); + json_object_object_add(process, "name", gluonutil_wrap_string(name)); + json_object_object_add(process, "utime", json_object_new_int(utime)); + json_object_object_add(process, "stime", json_object_new_int(stime)); + json_object_object_add(process, "cutime", json_object_new_int(cutime)); + json_object_object_add(process, "cstime", json_object_new_int(cstime)); char pidstr[8]; snprintf(pidstr, 7, "%d", pid);