From f5886a17f5a7803a2196e939acc4cc14af315a74 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 2 Feb 2012 15:52:19 +0100 Subject: [PATCH] remove TRACE_NAME from headers --- docs/gst/gstreamer-sections.txt | 11 +---------- gst/gstbuffer.h | 7 ------- gst/gstbufferpool.h | 7 ------- gst/gstclock.c | 3 +-- gst/gstclock.h | 7 ------- gst/gstevent.h | 7 ------- gst/gstmessage.h | 7 ------- gst/gstmeta.h | 7 ------- gst/gstsample.h | 7 ------- 9 files changed, 2 insertions(+), 61 deletions(-) diff --git a/docs/gst/gstreamer-sections.txt b/docs/gst/gstreamer-sections.txt index e09aed9696..86289566a0 100644 --- a/docs/gst/gstreamer-sections.txt +++ b/docs/gst/gstreamer-sections.txt @@ -176,7 +176,6 @@ GST_BUFFER_DTS_IS_VALID GST_BUFFER_OFFSET_IS_VALID GST_BUFFER_OFFSET_END_IS_VALID GST_BUFFER_IS_DISCONT -GST_BUFFER_TRACE_NAME gst_buffer_new gst_buffer_new_and_alloc @@ -259,7 +258,6 @@ gst_meta_register gst_meta_get_info GST_META_CAST -GST_META_TRACE_NAME GST_TYPE_META_FLAGS gst_meta_flags_get_type @@ -297,7 +295,6 @@ gst_buffer_pool_release_buffer GST_BUFFER_POOL_CLASS GST_BUFFER_POOL_CAST -GST_BUFFER_POOL_TRACE_NAME GstBufferPoolPrivate GST_BUFFER_POOL GST_IS_BUFFER_POOL @@ -433,7 +430,6 @@ gst_value_get_sample gst_value_set_sample gst_value_take_sample -GST_SAMPLE_TRACE_NAME GST_IS_SAMPLE GST_SAMPLE GST_TYPE_SAMPLE @@ -491,7 +487,6 @@ GST_TIMEVAL_TO_TIME GST_TIME_TO_TIMEVAL GST_TIMESPEC_TO_TIME GST_TIME_TO_TIMESPEC -GST_CLOCK_ENTRY_TRACE_NAME GstClockEntry GstClockCallback GstClockEntryType @@ -505,7 +500,7 @@ GstClockReturn GstClockFlags GST_CLOCK_FLAGS GST_CLOCK_BROADCAST -GST_CLOCK_COND +GST_CLOCK_GET_COND GST_CLOCK_TIMED_WAIT GST_CLOCK_WAIT gst_clock_add_observation @@ -901,8 +896,6 @@ GST_EVENT_MAKE_TYPE GstEventType -GST_EVENT_TRACE_NAME - GST_EVENT_TYPE GST_EVENT_TYPE_NAME GST_EVENT_TIMESTAMP @@ -1284,7 +1277,6 @@ gst_allocator_register gst_allocator_set_default GST_TYPE_MEMORY -GST_MEMORY_TRACE_NAME GST_TYPE_MAP_FLAGS GST_TYPE_MEMORY_FLAGS gst_map_flags_get_type @@ -1303,7 +1295,6 @@ GST_MESSAGE_TIMESTAMP GST_MESSAGE_SEQNUM GST_MESSAGE_TYPE GST_MESSAGE_TYPE_NAME -GST_MESSAGE_TRACE_NAME gst_message_type_to_quark gst_message_type_get_name gst_message_ref diff --git a/gst/gstbuffer.h b/gst/gstbuffer.h index 435388bf42..c8f48ec1c9 100644 --- a/gst/gstbuffer.h +++ b/gst/gstbuffer.h @@ -35,13 +35,6 @@ GST_EXPORT GType _gst_buffer_type; typedef struct _GstBuffer GstBuffer; typedef struct _GstBufferPool GstBufferPool; -/** - * GST_BUFFER_TRACE_NAME: - * - * The name used for tracing memory allocations. - */ -#define GST_BUFFER_TRACE_NAME "GstBuffer" - #define GST_TYPE_BUFFER (_gst_buffer_type) #define GST_IS_BUFFER(obj) (GST_IS_MINI_OBJECT_TYPE(obj, GST_TYPE_BUFFER)) #define GST_BUFFER_CAST(obj) ((GstBuffer *)(obj)) diff --git a/gst/gstbufferpool.h b/gst/gstbufferpool.h index 33b1cbe50a..7c209eb8c1 100644 --- a/gst/gstbufferpool.h +++ b/gst/gstbufferpool.h @@ -35,13 +35,6 @@ G_BEGIN_DECLS typedef struct _GstBufferPoolPrivate GstBufferPoolPrivate; typedef struct _GstBufferPoolClass GstBufferPoolClass; -/** - * GST_BUFFER_POOL_TRACE_NAME: - * - * The name used for tracing memory allocations. - */ -#define GST_BUFFER_POOL_TRACE_NAME "GstBufferPool" - #define GST_TYPE_BUFFER_POOL (gst_buffer_pool_get_type()) #define GST_IS_BUFFER_POOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_BUFFER_POOL)) #define GST_IS_BUFFER_POOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_BUFFER_POOL)) diff --git a/gst/gstclock.c b/gst/gstclock.c index be24d9f198..7992b6f0a6 100644 --- a/gst/gstclock.c +++ b/gst/gstclock.c @@ -657,8 +657,7 @@ gst_clock_class_init (GstClockClass * klass) GObjectClass *gobject_class = G_OBJECT_CLASS (klass); #ifndef GST_DISABLE_TRACE - _gst_clock_entry_trace = - _gst_alloc_trace_register (GST_CLOCK_ENTRY_TRACE_NAME, -1); + _gst_clock_entry_trace = _gst_alloc_trace_register ("GstClockEntry", -1); #endif gobject_class->dispose = gst_clock_dispose; diff --git a/gst/gstclock.h b/gst/gstclock.h index 6272221127..cbf72c5d7c 100644 --- a/gst/gstclock.h +++ b/gst/gstclock.h @@ -243,13 +243,6 @@ G_STMT_START { \ GST_CLOCK_TIME_IS_VALID (t) ? \ (guint) (((GstClockTime)(t)) % GST_SECOND) : 999999999 -/** - * GST_CLOCK_ENTRY_TRACE_NAME: - * - * The name used for tracing clock entry allocations. - */ -#define GST_CLOCK_ENTRY_TRACE_NAME "GstClockEntry" - typedef struct _GstClockEntry GstClockEntry; typedef struct _GstClock GstClock; typedef struct _GstClockClass GstClockClass; diff --git a/gst/gstevent.h b/gst/gstevent.h index 4778821bc6..8e6f4750b3 100644 --- a/gst/gstevent.h +++ b/gst/gstevent.h @@ -191,13 +191,6 @@ GST_EXPORT GType _gst_event_type; #define GST_EVENT_CAST(obj) ((GstEvent *)(obj)) #define GST_EVENT(obj) (GST_EVENT_CAST(obj)) -/** - * GST_EVENT_TRACE_NAME: - * - * The name used for memory allocation tracing - */ -#define GST_EVENT_TRACE_NAME "GstEvent" - /** * GST_EVENT_TYPE: * @event: the event to query diff --git a/gst/gstmessage.h b/gst/gstmessage.h index 0c97a52bc8..4a84360879 100644 --- a/gst/gstmessage.h +++ b/gst/gstmessage.h @@ -134,13 +134,6 @@ typedef enum #include #include -/** - * GST_MESSAGE_TRACE_NAME: - * - * The name used for memory allocation tracing - */ -#define GST_MESSAGE_TRACE_NAME "GstMessage" - #define GST_TYPE_MESSAGE (gst_message_get_type()) #define GST_IS_MESSAGE(obj) (GST_IS_MINI_OBJECT_TYPE (obj, GST_TYPE_MESSAGE)) #define GST_MESSAGE_CAST(obj) ((GstMessage*)(obj)) diff --git a/gst/gstmeta.h b/gst/gstmeta.h index 7f786b6815..1d6b3e0680 100644 --- a/gst/gstmeta.h +++ b/gst/gstmeta.h @@ -93,13 +93,6 @@ struct _GstMeta { const GstMetaInfo *info; }; -/** - * GST_META_TRACE_NAME: - * - * The name used for tracing memory allocations. - */ -#define GST_META_TRACE_NAME "GstMeta" - /** * GstMetaInitFunction: * @meta: a #GstMeta diff --git a/gst/gstsample.h b/gst/gstsample.h index 280ff0d412..45cd7ee661 100644 --- a/gst/gstsample.h +++ b/gst/gstsample.h @@ -46,13 +46,6 @@ GST_EXPORT GType _gst_sample_type; */ typedef struct _GstSample GstSample; -/** - * GST_SAMPLE_TRACE_NAME: - * - * The name used for tracing memory allocations. - */ -#define GST_SAMPLE_TRACE_NAME "GstSample" - GType gst_sample_get_type (void); /* allocation */