diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-04 13:11:15 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2007-12-04 13:11:29 +0000 |
commit | c1587235ac57243d650f4fdb87961e11e78aac43 (patch) | |
tree | 0a7e199205114c207eea4a06829cd4e8ccb30db3 /src | |
parent | a72cad93e6473bd3093884c51b0c72ee32de3c4e (diff) |
Rename to odin (Óðinn) after the Norse god of wisdom.
Diffstat (limited to 'src')
-rw-r--r-- | src/allocators.c | 10 | ||||
-rw-r--r-- | src/app.c | 31 | ||||
-rw-r--r-- | src/block.c | 8 | ||||
-rw-r--r-- | src/block.h | 10 | ||||
-rw-r--r-- | src/blockmap.c | 10 | ||||
-rw-r--r-- | src/callgraph-ring.c | 10 | ||||
-rw-r--r-- | src/callgraph-store.c | 10 | ||||
-rw-r--r-- | src/callgraph-treemap.c | 10 | ||||
-rw-r--r-- | src/callgraph.c | 10 | ||||
-rw-r--r-- | src/callgraph.h | 8 | ||||
-rw-r--r-- | src/frames.c | 10 | ||||
-rw-r--r-- | src/frames.h | 10 | ||||
-rw-r--r-- | src/lwp-events.h | 8 | ||||
-rw-r--r-- | src/lwp-lookup-symbol.c | 8 | ||||
-rw-r--r-- | src/lwp.c | 8 | ||||
-rw-r--r-- | src/lwp.h | 8 | ||||
-rw-r--r-- | src/odin.h (renamed from src/memfault.h) | 14 | ||||
-rw-r--r-- | src/procmap-store.c | 10 | ||||
-rw-r--r-- | src/procmap.c | 10 | ||||
-rw-r--r-- | src/procmap.h | 8 | ||||
-rw-r--r-- | src/timeline.c | 10 | ||||
-rw-r--r-- | src/utils.c | 10 |
22 files changed, 120 insertions, 111 deletions
diff --git a/src/allocators.c b/src/allocators.c index 8a8af4b..74af289 100644 --- a/src/allocators.c +++ b/src/allocators.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -25,7 +25,7 @@ #include <string.h> #include <stdlib.h> -#include "memfault.h" +#include "odin.h" #include "block.h" #define _(x) x @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -31,7 +31,7 @@ #include <unistd.h> #include <errno.h> -#include "memfault.h" +#include "odin.h" #include "block.h" #include "callgraph.h" #include "frames.h" @@ -512,7 +512,7 @@ static void _app_set_client_name (App *app, const gchar *client) { const char *type = client_type_to_string (&app->client); - char *str = g_strconcat (client, " - memfault [", type, "]", NULL); + char *str = g_strconcat (client, " - Óðinn [", type, "]", NULL); gtk_window_set_title (GTK_WINDOW (app->window), str); g_free (str); @@ -1198,7 +1198,7 @@ _allocator_get_time (Client *client, Allocator *A, guint32 time) return A->time_tail; At = client_perm_alloc (client, sizeof (AllocatorTime)); - /* we always accumulate (cf memfault) */ + /* we always accumulate (cf odin) */ memcpy (At, A->time_tail, sizeof (AllocatorTime)); At->next = NULL; @@ -1877,7 +1877,7 @@ execute_cmdline_vg (App *app, char **argv, GError **error) env = "valgrind"; argvp[j++] = g_strdup (env); argvp[j++] = g_strdup ("valgrind"); - argvp[j++] = g_strdup ("--tool=memfault"); + argvp[j++] = g_strdup ("--tool=odin"); addr = gnet_tcp_socket_get_local_inetaddr (app->vg_log); name = gnet_inetaddr_get_canonical_name (addr); @@ -1922,6 +1922,7 @@ execute_cmdline_vg (App *app, char **argv, GError **error) static gboolean execute_cmdline_lwp (App *app, char **argv, GError **error) { + const gchar *lib = LIBDIR "/lwp.so"; gchar *path; gchar **env, **envp; GPid child; @@ -1931,6 +1932,13 @@ execute_cmdline_lwp (App *app, char **argv, GError **error) g_assert (app->client.pid == 0); + if (! g_file_test (lib, G_FILE_TEST_EXISTS)) { + g_set_error (error, 0, 0, + "Missing light-weight profiler: '%s' not found.", + lib); + return FALSE; + } + path = gnet_unix_socket_get_path (app->lwp_events); env = g_listenv (); @@ -1938,7 +1946,6 @@ execute_cmdline_lwp (App *app, char **argv, GError **error) have_preload = have_socket = FALSE; for (n = 0; env[n] != NULL; n++) { if (strcmp (env[n], "LD_PRELOAD") == 0) { - const gchar *lib = "./lwp.so"; const gchar *preload = g_getenv ("LD_PRELOAD"); if (strstr (preload, lib) == NULL) envp[n] = g_strdup_printf ("LD_PRELOAD=%s:%s", lib, preload); @@ -1952,7 +1959,7 @@ execute_cmdline_lwp (App *app, char **argv, GError **error) envp[n] = g_strconcat (env[n], "=", g_getenv (env[n]), NULL); } if (! have_preload) - envp[n++] = g_strconcat ("LD_PRELOAD=", "./lwp.so", NULL); + envp[n++] = g_strconcat ("LD_PRELOAD=", lib, NULL); if (! have_socket) envp[n++] = g_strconcat ("LWP_PATH=unix:", path, NULL); envp[n] = NULL; @@ -1995,7 +2002,7 @@ int main { "valgrind", 0, 0, G_OPTION_ARG_NONE, &use_valgrind, - "Use the heavy weight memfault valgrind skin to intercept the allocations.", NULL + "Use the heavy weight odin valgrind skin to intercept the allocations.", NULL }, { G_OPTION_REMAINING, 0, 0, @@ -2011,6 +2018,8 @@ int main gnet_init (); glibtop_init (); + g_set_application_name ("Óðinn"); + context = g_option_context_new ("[client [args]]"); g_option_context_add_main_entries (context, options, NULL); g_option_context_add_group (context, gtk_get_option_group (TRUE)); diff --git a/src/block.c b/src/block.c index 53e7ee4..73c10b2 100644 --- a/src/block.c +++ b/src/block.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ diff --git a/src/block.h b/src/block.h index a2afa77..9f3ab05 100644 --- a/src/block.h +++ b/src/block.h @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -22,7 +22,7 @@ #ifndef BLOCK_H #define BLOCK_H -#include "memfault.h" +#include "odin.h" gulong blocks_count_pages (const Block *block); diff --git a/src/blockmap.c b/src/blockmap.c index e2ffaa8..951dc2d 100644 --- a/src/blockmap.c +++ b/src/blockmap.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -24,7 +24,7 @@ #include <unistd.h> #include <string.h> -#include "memfault.h" +#include "odin.h" #define _(x) x diff --git a/src/callgraph-ring.c b/src/callgraph-ring.c index 71e67d8..067e7a2 100644 --- a/src/callgraph-ring.c +++ b/src/callgraph-ring.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -24,7 +24,7 @@ #include <stdlib.h> #include <string.h> -#include "memfault.h" +#include "odin.h" #include "callgraph.h" #define _(x) x diff --git a/src/callgraph-store.c b/src/callgraph-store.c index 7d9af57..e777198 100644 --- a/src/callgraph-store.c +++ b/src/callgraph-store.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -25,7 +25,7 @@ #include <string.h> #include <stdlib.h> -#include "memfault.h" +#include "odin.h" #include "callgraph.h" #define _(x) x diff --git a/src/callgraph-treemap.c b/src/callgraph-treemap.c index 73a96be..1f93790 100644 --- a/src/callgraph-treemap.c +++ b/src/callgraph-treemap.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -24,7 +24,7 @@ #include <stdlib.h> #include <string.h> -#include "memfault.h" +#include "odin.h" #include "callgraph.h" #define _(x) x diff --git a/src/callgraph.c b/src/callgraph.c index 7f3acd7..3584aad 100644 --- a/src/callgraph.c +++ b/src/callgraph.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -24,7 +24,7 @@ #include <unistd.h> #include <string.h> -#include "memfault.h" +#include "odin.h" #include "callgraph.h" #define _(x) x diff --git a/src/callgraph.h b/src/callgraph.h index 9042d65..bdc0b41 100644 --- a/src/callgraph.h +++ b/src/callgraph.h @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ diff --git a/src/frames.c b/src/frames.c index 884bfd3..0eae7e3 100644 --- a/src/frames.c +++ b/src/frames.c @@ -1,25 +1,25 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ -#include "memfault.h" +#include "odin.h" #include "frames.h" #include <string.h> diff --git a/src/frames.h b/src/frames.h index 051714d..d6cf88f 100644 --- a/src/frames.h +++ b/src/frames.h @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -22,7 +22,7 @@ #ifndef FRAMES_H #define FRAMES_H -#include "memfault.h" +#include "odin.h" G_BEGIN_DECLS diff --git a/src/lwp-events.h b/src/lwp-events.h index ab4a302..a4d2070 100644 --- a/src/lwp-events.h +++ b/src/lwp-events.h @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ diff --git a/src/lwp-lookup-symbol.c b/src/lwp-lookup-symbol.c index c3dbb6b..4225711 100644 --- a/src/lwp-lookup-symbol.c +++ b/src/lwp-lookup-symbol.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ diff --git a/src/memfault.h b/src/odin.h index 08d7f60..a7c34fd 100644 --- a/src/memfault.h +++ b/src/odin.h @@ -1,26 +1,26 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ -#ifndef MEMFAULT_H -#define MEMFAULT_H +#ifndef ODIN_H +#define ODIN_H #include <gtk/gtk.h> @@ -251,4 +251,4 @@ median_double (gdouble *v, guint n); G_END_DECLS -#endif /* MEMFAULT_H */ +#endif /* ODIN_H */ diff --git a/src/procmap-store.c b/src/procmap-store.c index a5a276a..08ade14 100644 --- a/src/procmap-store.c +++ b/src/procmap-store.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -23,7 +23,7 @@ #include <glibtop.h> #include <glibtop/procmap.h> -#include "memfault.h" +#include "odin.h" #include "procmap.h" struct _procmap_store { diff --git a/src/procmap.c b/src/procmap.c index 7248e48..72853a5 100644 --- a/src/procmap.c +++ b/src/procmap.c @@ -1,27 +1,27 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ #include <gtk/gtk.h> -#include "memfault.h" +#include "odin.h" #include "procmap.h" #define _(x) x diff --git a/src/procmap.h b/src/procmap.h index 73e4dde..78ff37b 100644 --- a/src/procmap.h +++ b/src/procmap.h @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ diff --git a/src/timeline.c b/src/timeline.c index e41f3e1..2a0569c 100644 --- a/src/timeline.c +++ b/src/timeline.c @@ -1,20 +1,20 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ @@ -24,7 +24,7 @@ #include <unistd.h> #include <string.h> -#include "memfault.h" +#include "odin.h" #define _(x) x diff --git a/src/utils.c b/src/utils.c index 16623ee..0d4acdb 100644 --- a/src/utils.c +++ b/src/utils.c @@ -1,25 +1,25 @@ /* - This file is part of memfault, a memory profiler with fragmentation analysis. + This file is part of odin, a memory profiler with fragmentation analysis. Copyright (C) 2007 Chris Wilson <chris@chris-wilson.co.uk> - memfault is free software; you can redistribute it and/or + odin is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - memfault is distributed in the hope that it will be useful, but + odin 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 memfault. If not, see <http://www.gnu.org/licenses/>/ + along with odin. If not, see <http://www.gnu.org/licenses/>/ The GNU General Public License is contained in the file COPYING. */ -#include "memfault.h" +#include "odin.h" void pretty_print_number (const char *number, gint len, char *output) |