procfs: add service pid information

Change-Id: I163ca4c6c6db45cca41515644ac6c2acd0807ee8
This commit is contained in:
Cristiano Giuffrida
2015-06-29 10:56:53 +00:00
committed by David van Moolenbroek
parent f5321d8d55
commit a8f606defa
+1
View File
@@ -304,6 +304,7 @@ service_read(struct inode * node)
/* TODO: add a large number of other fields! */
buf_printf("filename: %s\n", rpub->proc_name);
buf_printf("endpoint: %d\n", rpub->endpoint);
buf_printf("pid: %d\n", rp->r_pid);
buf_printf("restarts: %d\n", rp->r_restarts);
buf_printf("policies: %s\n", service_get_policies(policies, slot));
}