diff options
author | Mario Preksavec <mario@slackware.hr> | 2016-06-26 17:17:40 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-06-27 07:54:32 +0700 |
commit | 370708023c63342ef91cefb9f2aa520a75a76bd0 (patch) | |
tree | 0efe27fef778a711d7792455ac171b65c2f4ed66 /system/xen/patches/remove_malloc_tracing.diff | |
parent | 02f56b708f8e40ed4a384e22f00eebb074c54a7f (diff) | |
download | slackbuilds-370708023c63342ef91cefb9f2aa520a75a76bd0.tar.gz |
system/xen: Updated for version 4.6.3.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
Diffstat (limited to 'system/xen/patches/remove_malloc_tracing.diff')
-rw-r--r-- | system/xen/patches/remove_malloc_tracing.diff | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/system/xen/patches/remove_malloc_tracing.diff b/system/xen/patches/remove_malloc_tracing.diff deleted file mode 100644 index 293000fdc6..0000000000 --- a/system/xen/patches/remove_malloc_tracing.diff +++ /dev/null @@ -1,62 +0,0 @@ ---- xen-4.6.1/tools/qemu-xen/trace-events.orig 2016-01-06 17:42:43.000000000 +0100 -+++ xen-4.6.1/tools/qemu-xen/trace-events 2016-02-20 20:36:48.996704075 +0100 -@@ -571,9 +571,6 @@ - vm_state_notify(int running, int reason) "running %d reason %d" - load_file(const char *name, const char *path) "name %s location %s" - runstate_set(int new_state) "new state %d" --g_malloc(size_t size, void *ptr) "size %zu ptr %p" --g_realloc(void *ptr, size_t size, void *newptr) "ptr %p size %zu newptr %p" --g_free(void *ptr) "ptr %p" - system_wakeup_request(int reason) "reason=%d" - qemu_system_shutdown_request(void) "" - qemu_system_powerdown_request(void) "" ---- xen-4.6.1/tools/qemu-xen/vl.c.orig 2016-01-06 17:42:43.000000000 +0100 -+++ xen-4.6.1/tools/qemu-xen/vl.c 2016-02-20 20:38:17.715227938 +0100 -@@ -2628,26 +2628,6 @@ - return popt; - } - --static gpointer malloc_and_trace(gsize n_bytes) --{ -- void *ptr = malloc(n_bytes); -- trace_g_malloc(n_bytes, ptr); -- return ptr; --} -- --static gpointer realloc_and_trace(gpointer mem, gsize n_bytes) --{ -- void *ptr = realloc(mem, n_bytes); -- trace_g_realloc(mem, n_bytes, ptr); -- return ptr; --} -- --static void free_and_trace(gpointer mem) --{ -- trace_g_free(mem); -- free(mem); --} -- - static int machine_set_property(const char *name, const char *value, - void *opaque) - { -@@ -2763,11 +2743,6 @@ - bool userconfig = true; - const char *log_mask = NULL; - const char *log_file = NULL; -- GMemVTable mem_trace = { -- .malloc = malloc_and_trace, -- .realloc = realloc_and_trace, -- .free = free_and_trace, -- }; - const char *trace_events = NULL; - const char *trace_file = NULL; - const ram_addr_t default_ram_size = (ram_addr_t)DEFAULT_RAM_SIZE * -@@ -2781,8 +2756,6 @@ - error_set_progname(argv[0]); - qemu_init_exec_dir(argv[0]); - -- g_mem_set_vtable(&mem_trace); -- - module_call_init(MODULE_INIT_QOM); - - qemu_add_opts(&qemu_drive_opts); |