Messages in this thread | | | Date | Thu, 29 May 2014 12:35:39 +0200 | From | Borislav Petkov <> | Subject | Re: [PATCH 5/7 v6] trace, RAS: Add eMCA trace event interface |
| |
On Thu, May 29, 2014 at 03:43:45AM -0400, Chen, Gong wrote: > On Wed, May 28, 2014 at 12:56:25PM -0400, Steven Rostedt wrote: > > My concern is passing in a large string and wasting a lot of the ring > > buffer space. The max you can hold per event is just under a page size > > (4k). And all these strings add up. If it happens to be 512bytes, then > > you end up with one event per page. > I just don't understand why you say wasting memory. I just pass > a char * not a string array.
And this char * points to where?
+ __string(dimm_info, dimm_info) + __string(mem_loc, mem_loc)
-- Regards/Gruss, Boris.
Sent from a fat crate under my desk. Formatting is fine. --
| |