Re: [PATCH v0 3/5] perf: Introduce instruction trace filtering

From: Alexander Shishkin
Date: Fri Dec 11 2015 - 10:14:48 EST


Peter Zijlstra <peterz@xxxxxxxxxxxxx> writes:

> On Fri, Dec 11, 2015 at 03:36:36PM +0200, Alexander Shishkin wrote:
>> @@ -5921,6 +6010,8 @@ static void perf_event_comm_event(struct perf_comm_event *comm_event)
>>
>> comm_event->event_id.header.size = sizeof(comm_event->event_id) + size;
>>
>> + if (comm_event->event_id.header.misc == PERF_RECORD_MISC_COMM_EXEC)
>> + perf_event_aux(perf_itrace_exec, comm_event, NULL, true);
>
> Maybe put this in perf_event_exec() ?

Good point, I'm not actually even using the 'comm_event' in
perf_itrace_exec() for anything.

Thanks,
--
Alex
--
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/