Re: [tip:timers/tracing] hrtimer: Add tracepoint for hrtimers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:timers/tracing] hrtimer: Add tracepoint for hrtimers
- From: Steven Rostedt <rostedt@xxxxxxxxxxx>
- Date: Tue, 13 Oct 2009 14:56:14 -0400
- Cc: mingo@xxxxxxxxxx, hpa@xxxxxxxxx, mathieu.desnoyers@xxxxxxxxxx, anton@xxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, peterz@xxxxxxxxxxxxx, zhaolei@xxxxxxxxxxxxxx, xiaoguangrong@xxxxxxxxxxxxxx, fweisbec@xxxxxxxxx, tglx@xxxxxxxxxxxxx, kosaki.motohiro@xxxxxxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <20091013184150.GA17492@xxxxxxx>
- Organization: Kihon Technologies Inc.
- References: <4A7F8B2B.5020908@xxxxxxxxxxxxxx> <tip-c6a2a1770245f654f35f60e1458d4356680f9519@xxxxxxxxxxxxxx> <1255404309.7113.948.camel@xxxxxxxxxxxxxxxxxxx> <20091013070853.GA13175@xxxxxxx> <1255439822.7113.1541.camel@xxxxxxxxxxxxxxxxxxx> <20091013132656.GA12292@xxxxxxx> <1255442557.7113.1623.camel@xxxxxxxxxxxxxxxxxxx> <20091013184150.GA17492@xxxxxxx>
- Reply-to: rostedt@xxxxxxxxxxx
On Tue, 2009-10-13 at 20:41 +0200, Ingo Molnar wrote:
> > But still, we need to build a way to convert big endian to little, as
> > well as perhaps converting 32bit to 64 bit longs. As well as vice
> > versa.
>
> Exporting the print line as C in a convenient way does not in any way
> make it more difficult to define endianness and bit size - we have to do
> that anyway. It's largely orthogonal.
The way I do it now, is basically making a C interpreter. This can
easily handle word size and endianess (I have those exported too, and
can handle differences between host and file).
But to export the "printf" as a C function, that C function will need to
know a way what size a long is, as well as how to convert endianess.
I'm not really sure how to go about doing something like this
automatically. Every event will need its own C function to convert.
Sounds more like what Mathieu was describing.
We still don't have a way to handle enums and structures (like ktime).
-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]