This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi! Saturday, 03 November, 2001 Christopher Faylor cgf@redhat.com wrote: CF> On Fri, Nov 02, 2001 at 11:54:03PM +0300, egor duda wrote: >> >> i occasionally have a problem with strace when i need to turn >>buffering on because without it application starts to work properly. >>but with buffering, application may just freeze and i can only close a >>window it's running in. in this case buffered info (frequently it's >>the most interesting info) is lost. attached patch adds -w option >>similar to gdb's 'set new-console' and periodically flushes buffered >>info. CF> I like the idea but how about making it more flexible? CF> Maybe we need a "flush every n seconds switch?" I'd like this to be CF> selectable because there are times that I don't want to see the output CF> until the program exits since I want to get the maximum throughput from CF> strace possible. CF> So, if you specify '-S60', then strace will flush every sixty seconds. CF> Otherwise it will behave as before. CF> Otherwise, the '-w' option is fine, if you want to check that part in. no probs. here's an updated patch. Egor. mailto:deo@logos-m.ru ICQ 5165414 FidoNet 2:5020/496.19
strace-on-hung-app-2.ChangeLog
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |