From 4553b4d1cec894832e19f5702aa33e107e497365 Mon Sep 17 00:00:00 2001 From: Julien Desfossez Date: Wed, 18 Apr 2012 15:38:10 -0400 Subject: [PATCH] static check function and remove perf comment Signed-off-by: Julien Desfossez --- src/lttngtop.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) { -- 2.34.1