Well I doubt Valve is calling getdents directly. Probably getting called by some standard function. Place a breakpoint and do a trace a few times and see what function is calling it most frequently.
-----Original Message----- From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux-boun...@list.valvesoftware.com] On Behalf Of Guy Watkins Sent: Sunday, June 27, 2010 7:30 PM To: 'Half-Life dedicated Linux server mailing list' Subject: Re: [hlds_linux] CPU Usage increase with OB } -----Original Message----- } From: hlds_linux-boun...@list.valvesoftware.com [mailto:hlds_linux- } boun...@list.valvesoftware.com] On Behalf Of Marek Sieradzki } Sent: Sunday, June 27, 2010 7:27 PM } To: Half-Life dedicated Linux server mailing list } Subject: Re: [hlds_linux] CPU Usage increase with OB } } Having it call getdents() all the time is weird. } } _______________________________________________ } To unsubscribe, edit your list preferences, or view the list archives, } please visit: } http://list.valvesoftware.com/mailman/listinfo/hlds_linux Funny, the man page is trying to use Jedi mind tricks! Wave you hand in front of you as you read the first line. :) DESCRIPTION This is not the function you are interested in. Look at readdir(3) for the POSIX conforming C library interface. This page documents the bare kernel system call interface. _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlds_linux