From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754539AbbI3WDA (ORCPT ); Wed, 30 Sep 2015 18:03:00 -0400 Received: from mail.kernel.org ([198.145.29.136]:39367 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750977AbbI3WC6 (ORCPT ); Wed, 30 Sep 2015 18:02:58 -0400 Date: Wed, 30 Sep 2015 19:02:54 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern Subject: Re: [PATCH 1/3] perf record: Allocate area for sample_id_hdr in a synthesized comm event Message-ID: <20150930220254.GM1944@kernel.org> References: <1443577526-3240-1-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1443577526-3240-1-git-send-email-namhyung@kernel.org> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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