GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Thu Jun 27 10:51:21 UTC 2019


>
> >
> >     For whatever reason this file has only 98304 bytes. The content looks
> >     all right. So, the next step is to modify the client so that it can
> >     read
> >     from a file instead of the TCP stream.
> >
> > I am trying to write code to read from the original raw record item.
>
> I am not sure why you want to do this. On which task are you currently
> working?
>
I am working on the 2nd task to modify the record-client program to read
from a file if a --input=<FILE> command line option is given.

client_item record;
while(fread(&record, sizeof(record), 1, input_file))
        printf ("CPU=%d\n",record.cpu);

Here input_file is a file provided through the command.

-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190627/d3bdbc7a/attachment-0001.html>


More information about the devel mailing list