projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup comments and bad indent
[lttng-tools.git]
/
ltt-sessiond
/
traceable-app.c
diff --git
a/ltt-sessiond/traceable-app.c
b/ltt-sessiond/traceable-app.c
index 52cfb0f0da32365c27754fc7a71a804cab48c5e7..cce8a5827a1adf301a65dd518db2603a724485ba 100644
(file)
--- a/
ltt-sessiond/traceable-app.c
+++ b/
ltt-sessiond/traceable-app.c
@@
-42,10
+42,8
@@
static void add_traceable_app(struct ltt_traceable_app *lta);
static void del_traceable_app(struct ltt_traceable_app *lta);
/*
static void del_traceable_app(struct ltt_traceable_app *lta);
/*
- * add_traceable_app
- *
- * Add a traceable application structure to the global
- * list protected by a mutex.
+ * Add a traceable application structure to the global list protected by a
+ * mutex.
*/
static void add_traceable_app(struct ltt_traceable_app *lta)
{
*/
static void add_traceable_app(struct ltt_traceable_app *lta)
{
@@
-56,10
+54,8
@@
static void add_traceable_app(struct ltt_traceable_app *lta)
}
/*
}
/*
- * del_traceable_app
- *
- * Delete a traceable application structure from the
- * global list protected by a mutex.
+ * Delete a traceable application structure from the global list protected by a
+ * mutex.
*/
static void del_traceable_app(struct ltt_traceable_app *lta)
{
*/
static void del_traceable_app(struct ltt_traceable_app *lta)
{
@@
-73,13
+69,10
@@
static void del_traceable_app(struct ltt_traceable_app *lta)
}
/*
}
/*
- * register_traceable_app
+ * Using pid and uid (of the app), allocate a new ltt_traceable_app struct and
+ * add it to the global traceable app list.
*
*
- * Using pid and uid (of the app), allocate
- * a new ltt_traceable_app struct and add it
- * to the global traceable app list.
- *
- * On success, return 0, else return malloc ENOMEM.
+ * On success, return 0, else return malloc ENOMEM.
*/
int register_traceable_app(pid_t pid, uid_t uid)
{
*/
int register_traceable_app(pid_t pid, uid_t uid)
{
@@
-100,10
+93,8
@@
int register_traceable_app(pid_t pid, uid_t uid)
}
/*
}
/*
- * unregister_traceable_app
- *
- * Unregister app by removing it from the global
- * traceable app list and freeing the data struct.
+ * Unregister app by removing it from the global traceable app list and freeing
+ * the data struct.
*/
void unregister_traceable_app(pid_t pid)
{
*/
void unregister_traceable_app(pid_t pid)
{
@@
-118,9
+109,7
@@
void unregister_traceable_app(pid_t pid)
}
/*
}
/*
- * get_app_count
- *
- * Return traceable_app_count
+ * Return traceable_app_count
*/
unsigned int get_app_count(void)
{
*/
unsigned int get_app_count(void)
{
@@
-128,10
+117,8
@@
unsigned int get_app_count(void)
}
/*
}
/*
- * find_app_by_pid
- *
- * Iterate over the traceable apps list and
- * return a pointer or NULL if not found.
+ * Iterate over the traceable apps list and return a pointer or NULL if not
+ * found.
*/
struct ltt_traceable_app *find_app_by_pid(pid_t pid)
{
*/
struct ltt_traceable_app *find_app_by_pid(pid_t pid)
{
@@
-151,10
+138,7
@@
struct ltt_traceable_app *find_app_by_pid(pid_t pid)
}
/*
}
/*
- * get_app_list_pids
- *
- * List traceable user-space application and fill an
- * array of pids.
+ * List traceable user-space application and fill an array of pids.
*/
void get_app_list_pids(pid_t *pids)
{
*/
void get_app_list_pids(pid_t *pids)
{
This page took
0.023773 seconds
and
4
git commands to generate.