about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* extrace: detect errors when -d is used HEAD masterLeah Neukirchen2022-10-251-0/+4
|
* sigchld: only quit when we reaped our own childLeah Neukirchen2022-04-161-5/+10
| | | | | Previously, the signal handler would also quit when it was triggered by backgrounding the child.
* sig_atomic_t should be used with volatileLeah Neukirchen2022-01-271-1/+1
|
* NEWS.md: update v0.9Leah Neukirchen2022-01-191-0/+7
|
* quit when parent specified in -p exitsLeah Neukirchen2022-01-061-0/+3
|
* fix bug where exec() calls would create duplicate entries in pid_dbLeah Neukirchen2022-01-021-1/+10
| | | | Also print execution times for processes that exec'd when -t is used.
* fix -p flagLeah Neukirchen2022-01-021-9/+11
| | | | | Regression from c0e8a5424d, also fix error reporting of processes we don't care about.
* NEWS.md: update v0.8Leah Neukirchen2021-08-051-0/+5
|
* extrace: skip parent lookup for pid 1Alyssa Ross2021-06-151-0/+3
| | | | | | | | | I was getting a lot of errors that looked like extrace: process vanished before we found its parent: pid 1: redirfd Which are easily avoidable. Message-Id: <20210615120801.121874-1-hi@alyssa.is>
* extrace: sync help message and code comments.Érico Nogueira2021-06-091-2/+2
| | | | Closes: #8 [via git-merge-pr]
* extrace: add option to suppress runtime errors.Érico Nogueira2021-06-092-9/+25
| | | | | | | Errors like "process vanished ..." can fill the screen when attempting to run a certain process under extrace, and redirecting all of stderr to /dev/null will hide that process's output. Therefore, we need an option in extrace to hide them.
* extrace-bpf: don't lose first eventLeah Neukirchen2019-11-301-0/+3
|
* add extrace-bpf, which uses bpftraceLeah Neukirchen2019-11-301-0/+131
| | | | | This is a ruby script that simulates extrace(1) getting the information on exec/exit from bpftrace.
* NEWS.md: update v0.7Leah Neukirchen2019-02-081-1/+2
|
* update copyright yearLeah Neukirchen2019-02-083-3/+3
|
* extrace: ignore PROC_EVENT_NONE eventsLeah Neukirchen2018-10-201-0/+3
| | | | Closes #6.
* pwait: move installation of SIGINT signal handler just before the loopLeah Neukirchen2018-09-191-2/+2
|
* pwait: verify pid as late as possibleLeah Neukirchen2018-09-171-8/+15
|
* Makefile: use ?= for CFLAGS and PREFIXLeah Neukirchen2018-09-171-2/+2
| | | | Closes #5.
* README: include both manpagesLeah Neukirchen2018-09-172-2/+52
|
* extrace: use snprintf instead of strncpy to silence misleading ↵Leah Neukirchen2018-09-171-2/+2
| | | | -Wstringop-truncation
* pwait: free pids array at the endLeah Neukirchen2018-09-171-0/+1
|
* extract: verify pid existsLeah Neukirchen2018-09-172-1/+25
|
* pwait: prefix error messages with "pwait:"Leah Neukirchen2018-09-171-6/+9
|
* pwait: verify pids exist at parse timeLeah Neukirchen2018-09-173-1/+12
| | | | | kill(pid, 0) will return ESRCH for nonexisting pids. (The other possible error, EPERM would indicate the pid exists.)
* pwait: pid 0 is invalid tooLeah Neukirchen2018-09-171-1/+1
|
* pwait: styleLeah Neukirchen2018-09-171-2/+2
|
* pwait: exit with status 1 if no valid pid is givenLeah Neukirchen2018-09-171-0/+3
|
* pwait: don't store pid 0 for invalid pidsLeah Neukirchen2018-09-171-5/+5
|
* pwait: update copyright yearLeah Neukirchen2018-09-171-1/+1
|
* NEWS.md: update for 0.6 v0.6Leah Neukirchen2018-07-191-0/+5
|
* pid_depth: parse /proc/$PID/stat without using brittle fscanfLeah Neukirchen2018-06-191-7/+22
|
* add -u to print owner of processLeah Neukirchen2018-06-193-6/+26
|
* NEWS.md: update for 0.5 v0.5Leah Neukirchen2018-03-231-0/+7
|
* LICENSE, extrace.c: bump copyright yearsLeah Neukirchen2018-03-232-2/+2
|
* extrace: print errors when we lost dataLeah Neukirchen2018-02-111-2/+13
| | | | Proposed by "Chris West (Faux)" <git@goeswhere.com>.
* extrace: read cmdline first, it is the core informationLeah Neukirchen2018-02-081-18/+18
|
* extrace: use openat() for speedupChris West (Faux)2018-02-081-17/+28
| | | | | | | This reduces the timeframe where the inherently racy access to /proc is done, and removes some unnecessary snprintf. Closes: #2 [via git-merge-pr]
* mention -t in usageLeah Neukirchen2018-01-311-1/+1
|
* make non-standard signals optionalNicolas Braud-Santoni2018-01-251-10/+22
| | | | Closes: #1 [via git-merge-pr]
* remove own SIGINT handler, the default handler works well enoughLeah Neukirchen2017-12-211-9/+0
|
* detect out of order messages, report themLeah Neukirchen2017-11-131-1/+14
|
* pid_depth: use pid_db to avoid needless recursionLeah Neukirchen2017-10-311-5/+14
|
* styleLeah Neukirchen2017-08-312-21/+21
|
* add NEWS.md v0.4Leah Neukirchen2017-08-212-1/+14
|
* add unit to timestampLeah Neukirchen2017-08-201-2/+2
|
* cleanupLeah Neukirchen2017-08-201-9/+8
|
* use wait macrosLeah Neukirchen2017-08-201-3/+3
|
* decode signal/status properly, decode signal namesLeah Neukirchen2017-08-201-18/+57
|
* extrace.c: KNFLeah Neukirchen2017-07-141-328/+339
|