summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ratrace.c
AgeCommit message (Collapse)Author
2020-03-10improve usage messages (thanks henesy)Ori Bernstein
Fix inconsistencies between programs and their usage messages, correct instances where information seems to be missing or lost. This includes missing arguments, making usage consistent with manuals, and so on.
2016-08-10ratrace: fix fork/exec race with "nohang" procctl (like a debugger)cinap_lenrek
2015-07-29ratrace: avoid blank line prints, make writer the parentcinap_lenrek
when there where multiple syscalls returning out of order, it would print blank lines between the exits. avoid this by remembering if the last char written was a newline and conditionally insert newline on out of order return. sometimes, ratrace would return before all messages have been printed. make the writer process the parent so ratrace wont exit until all readers are finished avoiding the problem.
2015-07-29ratrace: various improvementscinap_lenrek
error handling, serialize exits, close reader filedescriptors, fix channel types, embedd the string buffer in the Msg struct.
2014-07-22ratrace: make multithreaded ratraces less confusing (for mischief)cinap_lenrek
2013-09-08cpu, ratrace, trace: remove unused #include <bio.h>cinap_lenrek
2011-03-30Import sources from 2011-03-30 iso image - libTaru Karttunen
2011-03-30Import sources from 2011-03-30 iso imageTaru Karttunen