X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=liblttng-ust-java-agent%2Fjni%2Flog4j%2Flttng_ust_log4j.h;h=c7d7d5250eda16c5f4044dce98fe4c57f68e31af;hb=7489fcb466935b3eeb36e99afbbb87188278cb91;hp=7e20b6985f061d4ed6039ebc27c267d3566853c5;hpb=d60dfbe48a0ceff16852f46419bcbc405502c61d;p=lttng-ust.git diff --git a/liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.h b/liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.h index 7e20b698..c7d7d525 100644 --- a/liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.h +++ b/liblttng-ust-java-agent/jni/log4j/lttng_ust_log4j.h @@ -1,34 +1,21 @@ +/* + * SPDX-License-Identifier: LGPL-2.1-only + * + * Copyright (C) 2011 Mathieu Desnoyers + */ + #undef TRACEPOINT_PROVIDER #define TRACEPOINT_PROVIDER lttng_log4j #if !defined(_TRACEPOINT_LTTNG_UST_LOG4J_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_LTTNG_UST_LOG4J_H -/* - * Copyright (C) 2011 Mathieu Desnoyers - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; version 2.1 of - * the License. - * - * This library 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 - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with this library; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - #include /* * Tracepoint used by Java applications using the log4j log appender. */ -// FIXME Change "sys_event" to "event" once lttng-tools is updated -TRACEPOINT_EVENT(lttng_log4j, sys_event, +TRACEPOINT_EVENT(lttng_log4j, event, TP_ARGS( const char *, msg, const char *, logger_name,