[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] trace: remove malloc tracing
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH] trace: remove malloc tracing |
Date: |
Thu, 8 Oct 2015 15:31:38 +0100 |
On 8 October 2015 at 15:20, Stefan Hajnoczi <address@hidden> wrote:
> On Wed, Sep 16, 2015 at 05:38:44PM +0200, Paolo Bonzini wrote:
>> The malloc vtable is not supported anymore in glib, because it broke
>> when constructors called g_malloc. Remove tracing of g_malloc,
>> g_realloc and g_free calls.
>>
>> Note that, for systemtap users, glib also provides tracepoints
>> glib.mem_alloc, glib.mem_free, glib.mem_realloc, glib.slice_alloc
>> and glib.slice_free.
>>
>> Signed-off-by: Paolo Bonzini <address@hidden>
>> ---
>> trace-events | 3 ---
>> vl.c | 27 ---------------------------
>> 2 files changed, 30 deletions(-)
>
> Thanks, applied to my tracing tree:
> https://github.com/stefanha/qemu/commits/tracing
There was an alternative earlier reviewed patch on list for this:
http://patchwork.ozlabs.org/patch/514730/
That one retains the support for glib versions which support it.
thanks
-- PMM