GSoC Project | Basic Support for Trace Compass

Ravindra Kumar Meena rmeena840 at gmail.com
Tue Jul 2 08:00:05 UTC 2019


>
> >
> > Okay. Have made some changes:
> >
> https://github.com/rmeena840/rtems-tools/commit/6fb677ce9da9055c904cb89b5b3612557ed995fd
>
> How many input file descriptors should this program use?

I think it has to be equal to the value in defined
variable RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT.

for( i = 0; i < RTEMS_RECORD_CLIENT_MAXIMUM_CPU_COUNT ; i++ ){
    fd[ i ] = ( input_file_flag ) ? open( input_file, O_RDONLY ) :
    socket( PF_INET, SOCK_STREAM, 0 );
    assert( fd[i] >= 0 );
  }


-- 
*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/20190702/8c9a7074/attachment-0002.html>


More information about the devel mailing list