Re: [PATCH 1/3] perf record: Allocate area for sample_id_hdr in a synthesized comm event

From: Arnaldo Carvalho de Melo
Date: Wed Sep 30 2015 - 18:03:05 EST


Em Wed, Sep 30, 2015 at 10:45:24AM +0900, Namhyung Kim escreveu:
> A previous patch added a synthesized comm event for forked child
> process but it missed that the event should contain area for
> sample_id_hdr at the end. It worked by accident since the perf_event
> union contains bigger event structs like mmap_events.
>
> This patch fixes it by dynamically allocating event struct including
> those area like in perf_event__synthesize_thread_map().

Thanks, applied the three patches in this series.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/