From: Julien Desfossez Date: Wed, 18 Apr 2012 19:38:10 +0000 (-0400) Subject: static check function and remove perf comment X-Git-Tag: v0.2~31 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4553b4d1cec894832e19f5702aa33e107e497365;p=lttngtop.git static check function and remove perf comment Signed-off-by: Julien Desfossez --- diff --git a/src/lttngtop.c b/src/lttngtop.c index f659b52..6bd7d67 100644 --- a/src/lttngtop.c +++ b/src/lttngtop.c @@ -548,7 +548,7 @@ error: return ret; } -int check_field_requirements(const struct bt_ctf_field_decl *const * field_list, +static int check_field_requirements(const struct bt_ctf_field_decl *const * field_list, int field_cnt, int *tid_check, int *pid_check, int *procname_check, int *ppid_check) { @@ -586,8 +586,6 @@ int check_field_requirements(const struct bt_ctf_field_decl *const * field_list, * * If each mandatory context information is available for at least in one * event, return 0 otherwise return -1. - * Also, we make here a list for all the perf counters available during the - * trace. */ int check_requirements(struct bt_context *ctx) {