X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmain%2Fhook.c;h=a7f0960db27f9bd1b5f018c6cabb3ee8aaa9c840;hb=338d4282832c1e0002ccdeeb36555271959dd57b;hp=8edbb2afbee7fc34755a6508c5ae704211c875dc;hpb=88a3e3d0ba9a2e56e5d3524bd9da05fe3a81f8e6;p=lttv.git diff --git a/ltt/branches/poly/lttv/main/hook.c b/ltt/branches/poly/lttv/main/hook.c index 8edbb2af..a7f0960d 100644 --- a/ltt/branches/poly/lttv/main/hook.c +++ b/ltt/branches/poly/lttv/main/hook.c @@ -1,3 +1,21 @@ +/* This file is part of the Linux Trace Toolkit viewer + * Copyright (C) 2003-2004 Michel Dagenais + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License Version 2 as + * published by the Free Software Foundation; + * + * 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., 59 Temple Place - Suite 330, Boston, + * MA 02111-1307, USA. + */ + #include @@ -16,7 +34,7 @@ LttvHooks *lttv_hooks_new() void lttv_hooks_destroy(LttvHooks *h) { - g_critical("lttv_hooks_destroy()"); + g_log(G_LOG_DOMAIN, G_LOG_LEVEL_DEBUG, "lttv_hooks_destroy()"); g_array_free(h, TRUE); }