Messages in this thread | | | Date | Wed, 30 Sep 2015 19:02:54 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 1/3] perf record: Allocate area for sample_id_hdr in a synthesized comm event |
| |
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
| |