X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttctl%2Flttctl.c;h=3011a96f34c88117f237d89b60f47ab3d4079e5e;hb=a78be0c53e3a970890c5e6d243f2d2692ac5311c;hp=7380136fc6eefcbe1e0c4bb3da3e81e80815a438;hpb=8d5607b44df5d7328c6885b29b711e97eb766f13;p=ltt-control.git diff --git a/lttctl/lttctl.c b/lttctl/lttctl.c index 7380136..3011a96 100644 --- a/lttctl/lttctl.c +++ b/lttctl/lttctl.c @@ -2,14 +2,26 @@ * * Linux Trace Toolkit Control * - * Small program that controls LTT through libltt. - * - * Copyright 2005 - - * Mathieu Desnoyers + * Small program that controls LTTng through liblttctl. * * Copyright 2008 FUJITSU * Zhao Lei * Gui Jianfeng + * Copyright 2009-2010 - Mathieu Desnoyers + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifdef HAVE_CONFIG_H @@ -144,6 +156,11 @@ static void show_arguments(void) printf(" Set channels root path, For -w option." " (ex. /mnt/debugfs/ltt)\n"); printf("\n"); + printf(" Environment variables:\n"); + printf(" LTT_DAEMON\n"); + printf(" Complete path to the lttd binary (needs to be\n"); + printf(" specified if different than package build prefix).\n"); + printf("\n"); } /*