Re: [RFC PATCH v1 04/40] trace/ring_buffer: handle 64bit aligned structs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2012-11-01 at 17:32 +0000, Will Newton wrote:

> > and make sure that the events report correctly your arch (metag). I just
> > want to make sure that it still reads the binary data correctly. I
> > should as the /sys/kernel/debug/tracing/events/header_page should
> > express the difference in the offset of data.
> 
> I just ran trace-cmd on our arch and it appears to work.
> 
> # cat /sys/kernel/debug/tracing/events/header_page
>         field: u64 timestamp;   offset:0;       size:8; signed:0;
>         field: local_t commit;  offset:8;       size:4; signed:1;
>         field: int overwrite;   offset:8;       size:1; signed:1;
>         field: char data;       offset:16;      size:4080;      signed:0;
> 
> Does that look ok?

Yep, it seems fine.

-- Steve


--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux