Re: [patch 9/9] x86, bts, ftrace: a BTS ftrace plug-in prototype

From: Frédéric Weisbecker
Date: Tue Nov 25 2008 - 06:30:37 EST


2008/11/25 Metzger, Markus T <markus.t.metzger@xxxxxxxxx>:
>>If you look at the struct trace_entry, you will see find the cpu
>>field. It is already inserted automatically :-)
>
> I am using that field in struct trace_entry.


Right, I misread.


> Without the assignment, though, I've seen funny cpu numbers. It seems that the field is not filled automatically.
>

Sorry, I thought it was done by tracing_generic_entry_update() but all
of the fields in struct trace_entry are filled inside
this function except the cpu one.... Perhaps it should, I don't know.
--
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/