aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/profiler/Makefile.am23
-rw-r--r--plugins/profiler/org-gnome-evolution-profiler.eplug.xml15
-rw-r--r--plugins/profiler/profiler.c62
3 files changed, 0 insertions, 100 deletions
diff --git a/plugins/profiler/Makefile.am b/plugins/profiler/Makefile.am
deleted file mode 100644
index 2a61fbafbe..0000000000
--- a/plugins/profiler/Makefile.am
+++ /dev/null
@@ -1,23 +0,0 @@
-LIBS = $(SHELL_LIBS)
-
-@EVO_PLUGIN_RULE@
-
-plugin_DATA = org-gnome-evolution-profiler.eplug
-
-plugin_LTLIBRARIES = liborg-gnome-evolution-profiler.la
-
-liborg_gnome_evolution_profiler_la_CPPFLAGS = \
- $(AM_CPPFLAGS) \
- -I$(top_srcdir) \
- $(SHELL_CFLAGS)
-
-liborg_gnome_evolution_profiler_la_SOURCES = profiler.c
-
-liborg_gnome_evolution_profiler_la_LDFLAGS = -module -avoid-version $(NO_UNDEFINED)
-
-EXTRA_DIST = org-gnome-evolution-profiler.eplug.xml
-
-BUILT_SOURCES = $(plugin_DATA)
-CLEANFILES = $(BUILT_SOURCES)
-
--include $(top_srcdir)/git.mk
diff --git a/plugins/profiler/org-gnome-evolution-profiler.eplug.xml b/plugins/profiler/org-gnome-evolution-profiler.eplug.xml
deleted file mode 100644
index 97720132be..0000000000
--- a/plugins/profiler/org-gnome-evolution-profiler.eplug.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<e-plugin-list>
- <e-plugin
- id="org.gnome.evolution.profiler"
- type="shlib"
- _name="Evolution Profiler"
- location="@PLUGINDIR@/liborg-gnome-evolution-profiler@SOEXT@">
-
- <_description>Profile data events in Evolution (for developers only).</_description>
- <author name="Michael Zucchi" email="notzed@novell.com"/>
-
- <hook class="org.gnome.evolution.profile.events:1.0">
- <event id="event" handle="org_gnome_evolution_profiler_event" target="event"/>
- </hook>
- </e-plugin>
-</e-plugin-list>
diff --git a/plugins/profiler/profiler.c b/plugins/profiler/profiler.c
deleted file mode 100644
index 9744a684de..0000000000
--- a/plugins/profiler/profiler.c
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * This program 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; either
- * version 2 of the License, or (at your option) version 3.
- *
- * 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
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with the program; if not, see <http://www.gnu.org/licenses/>
- *
- *
- * Authors:
- * Michael Zucchi <notzed@novell.com>
- *
- * Copyright (C) 1999-2008 Novell, Inc. (www.novell.com)
- *
- */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-#include <string.h>
-#include <stdio.h>
-#include <sys/types.h>
-#include <unistd.h>
-
-#include <glib.h>
-#include <e-util/e-profile-event.h>
-
-void org_gnome_evolution_profiler_event (EPlugin *ep, EProfileEventTarget *t);
-
-gint e_plugin_lib_enable (EPlugin *ep, gint enable);
-
-gint
-e_plugin_lib_enable (EPlugin *ep, gint enable)
-{
- return 0;
-}
-
-void
-org_gnome_evolution_profiler_event (EPlugin *ep, EProfileEventTarget *t)
-{
- static FILE *fp;
-
- if (!fp) {
- gchar *name;
-
- name = g_strdup_printf("eprofile.%ld", (glong) getpid());
- fp = fopen(name, "w");
- if (fp)
- fprintf(stderr, "Generating profiling data in '%s'\n", name);
- g_free (name);
- }
-
- if (fp)
- fprintf(fp, "%d.%d: %s,%s\n", (gint) t->tv.tv_sec, (gint) t->tv.tv_usec, t->id, t->uid);
-}