X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-type-list.h;h=564a13fde6a348a27ba475b2b7419a51374684fd;hb=refs%2Fheads%2Fstable-2.4;hp=4782caf2483e65f60b9280ecea47455ecf038562;hpb=1d12cebd26ab7c1ee4a23714ec71660c5352fbd4;p=lttng-modules.git diff --git a/probes/lttng-type-list.h b/probes/lttng-type-list.h index 4782caf2..564a13fd 100644 --- a/probes/lttng-type-list.h +++ b/probes/lttng-type-list.h @@ -1,53 +1,25 @@ -/* Type list, used to create metadata */ - -TRACE_EVENT_TYPE(long, integer) -TRACE_EVENT_TYPE(unsigned long, integer) -TRACE_EVENT_TYPE(int, integer) -TRACE_EVENT_TYPE(unsigned int, integer) -TRACE_EVENT_TYPE(short, integer) -TRACE_EVENT_TYPE(unsigned short, integer) -TRACE_EVENT_TYPE(char, integer) -TRACE_EVENT_TYPE(signed char, integer) -TRACE_EVENT_TYPE(unsigned char, integer) -TRACE_EVENT_TYPE(bool, integer) -TRACE_EVENT_TYPE(size_t, integer) -TRACE_EVENT_TYPE(ssize_t, integer) -TRACE_EVENT_TYPE(loff_t, integer) -TRACE_EVENT_TYPE(u64, integer) -TRACE_EVENT_TYPE(u32, integer) -TRACE_EVENT_TYPE(u16, integer) -TRACE_EVENT_TYPE(u8, integer) -TRACE_EVENT_TYPE(s64, integer) -TRACE_EVENT_TYPE(s32, integer) -TRACE_EVENT_TYPE(s16, integer) -TRACE_EVENT_TYPE(s8, integer) -TRACE_EVENT_TYPE(void *, integer) - -/* Kernel-specific types */ -TRACE_EVENT_TYPE(pid_t, integer) -TRACE_EVENT_TYPE(tid_t, integer) -TRACE_EVENT_TYPE(uid_t, integer) -TRACE_EVENT_TYPE(gid_t, integer) -TRACE_EVENT_TYPE(ino_t, integer) -TRACE_EVENT_TYPE(sector_t, integer) -TRACE_EVENT_TYPE(blkcnt_t, integer) -TRACE_EVENT_TYPE(pgoff_t, integer) -TRACE_EVENT_TYPE(gfp_t, integer) -TRACE_EVENT_TYPE(dev_t, integer) -TRACE_EVENT_TYPE(umode_t, integer) -TRACE_EVENT_TYPE(clockid_t, integer) -TRACE_EVENT_TYPE(cputime_t, integer) - -/* Aliases needed by kernel instrumentation */ -TRACE_EVENT_TYPE(struct page *, integer) -TRACE_EVENT_TYPE(unsigned, integer) -TRACE_EVENT_TYPE(__u32, integer) -TRACE_EVENT_TYPE(__u16, integer) +/* + * lttng-type-list.h + * + * Copyright (C) 2010-2012 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; only + * 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 + */ -/* Arrays */ -TRACE_EVENT_TYPE(task_comm, array, char, TASK_COMM_LEN) +/* Type list, used to create metadata */ -#include /* Enumerations */ TRACE_EVENT_ENUM(hrtimer_mode, V(HRTIMER_MODE_ABS), @@ -59,9 +31,3 @@ TRACE_EVENT_ENUM(hrtimer_mode, ) TRACE_EVENT_TYPE(hrtimer_mode, enum, unsigned char) - -/* Tests */ - -TRACE_EVENT_TYPE(__be32, integer_ext, __BIG_ENDIAN) -TRACE_EVENT_TYPE(testseq, sequence, unsigned int, size_t) -TRACE_EVENT_TYPE(teststring, string, UTF8)