Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | extrace: detect errors when -d is used HEAD master | Leah Neukirchen | 2022-10-25 | 1 | -0/+4 |
| | |||||
* | sigchld: only quit when we reaped our own child | Leah Neukirchen | 2022-04-16 | 1 | -5/+10 |
| | | | | | Previously, the signal handler would also quit when it was triggered by backgrounding the child. | ||||
* | sig_atomic_t should be used with volatile | Leah Neukirchen | 2022-01-27 | 1 | -1/+1 |
| | |||||
* | quit when parent specified in -p exits | Leah Neukirchen | 2022-01-06 | 1 | -0/+3 |
| | |||||
* | fix bug where exec() calls would create duplicate entries in pid_db | Leah Neukirchen | 2022-01-02 | 1 | -1/+10 |
| | | | | Also print execution times for processes that exec'd when -t is used. | ||||
* | fix -p flag | Leah Neukirchen | 2022-01-02 | 1 | -9/+11 |
| | | | | | Regression from c0e8a5424d, also fix error reporting of processes we don't care about. | ||||
* | extrace: skip parent lookup for pid 1 | Alyssa Ross | 2021-06-15 | 1 | -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 Nogueira | 2021-06-09 | 1 | -2/+2 |
| | | | | Closes: #8 [via git-merge-pr] | ||||
* | extrace: add option to suppress runtime errors. | Érico Nogueira | 2021-06-09 | 1 | -8/+22 |
| | | | | | | | 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. | ||||
* | update copyright year | Leah Neukirchen | 2019-02-08 | 1 | -1/+1 |
| | |||||
* | extrace: ignore PROC_EVENT_NONE events | Leah Neukirchen | 2018-10-20 | 1 | -0/+3 |
| | | | | Closes #6. | ||||
* | extrace: use snprintf instead of strncpy to silence misleading ↵ | Leah Neukirchen | 2018-09-17 | 1 | -2/+2 |
| | | | | -Wstringop-truncation | ||||
* | extract: verify pid exists | Leah Neukirchen | 2018-09-17 | 1 | -1/+24 |
| | |||||
* | pid_depth: parse /proc/$PID/stat without using brittle fscanf | Leah Neukirchen | 2018-06-19 | 1 | -7/+22 |
| | |||||
* | add -u to print owner of process | Leah Neukirchen | 2018-06-19 | 1 | -2/+18 |
| | |||||
* | LICENSE, extrace.c: bump copyright years | Leah Neukirchen | 2018-03-23 | 1 | -1/+1 |
| | |||||
* | extrace: print errors when we lost data | Leah Neukirchen | 2018-02-11 | 1 | -2/+13 |
| | | | | Proposed by "Chris West (Faux)" <git@goeswhere.com>. | ||||
* | extrace: read cmdline first, it is the core information | Leah Neukirchen | 2018-02-08 | 1 | -18/+18 |
| | |||||
* | extrace: use openat() for speedup | Chris West (Faux) | 2018-02-08 | 1 | -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 usage | Leah Neukirchen | 2018-01-31 | 1 | -1/+1 |
| | |||||
* | make non-standard signals optional | Nicolas Braud-Santoni | 2018-01-25 | 1 | -10/+22 |
| | | | | Closes: #1 [via git-merge-pr] | ||||
* | remove own SIGINT handler, the default handler works well enough | Leah Neukirchen | 2017-12-21 | 1 | -9/+0 |
| | |||||
* | detect out of order messages, report them | Leah Neukirchen | 2017-11-13 | 1 | -1/+14 |
| | |||||
* | pid_depth: use pid_db to avoid needless recursion | Leah Neukirchen | 2017-10-31 | 1 | -5/+14 |
| | |||||
* | style | Leah Neukirchen | 2017-08-31 | 1 | -10/+10 |
| | |||||
* | add unit to timestamp | Leah Neukirchen | 2017-08-20 | 1 | -2/+2 |
| | |||||
* | cleanup | Leah Neukirchen | 2017-08-20 | 1 | -9/+8 |
| | |||||
* | use wait macros | Leah Neukirchen | 2017-08-20 | 1 | -3/+3 |
| | |||||
* | decode signal/status properly, decode signal names | Leah Neukirchen | 2017-08-20 | 1 | -18/+57 |
| | |||||
* | extrace.c: KNF | Leah Neukirchen | 2017-07-14 | 1 | -328/+339 |
| | |||||
* | add -t for tracing process exit and duration | Leah Neukirchen | 2017-07-14 | 1 | -3/+69 |
| | |||||
* | Leahize | Leah Neukirchen | 2017-04-25 | 1 | -1/+1 |
| | |||||
* | extrace: fix usage | Christian Neukirchen | 2016-09-28 | 1 | -1/+1 |
| | |||||
* | add -e to output environment too | Christian Neukirchen | 2016-06-13 | 1 | -3/+33 |
| | |||||
* | put pid in variable | Christian Neukirchen | 2016-06-13 | 1 | -8/+6 |
| | |||||
* | check fscanf return value | Christian Neukirchen | 2016-06-13 | 1 | -1/+2 |
| | |||||
* | copyright year | Christian Neukirchen | 2016-06-13 | 1 | -1/+1 |
| | |||||
* | more warnings | Christian Neukirchen | 2016-06-13 | 1 | -1/+3 |
| | |||||
* | quote cwd too | Christian Neukirchen | 2016-06-13 | 1 | -2/+4 |
| | |||||
* | print arguments shell quoted | Christian Neukirchen | 2016-06-13 | 1 | -13/+49 |
| | |||||
* | fix output | Christian Neukirchen | 2016-06-13 | 1 | -13/+8 |
| | |||||
* | axe -w and make it default | Christian Neukirchen | 2016-06-13 | 1 | -13/+6 |
| | | | | Use cut(1) if you want to limit the line length. | ||||
* | whitespace fix | Christian Neukirchen | 2016-06-13 | 1 | -2/+2 |
| | |||||
* | add -d to print cwd of process | Christian Neukirchen | 2016-01-07 | 1 | -6/+20 |
| | |||||
* | extrace: increase CMDLINE_MAX. v0.1 | Christian Neukirchen | 2015-04-02 | 1 | -1/+1 |
| | |||||
* | add -l and -q | Christian Neukirchen | 2014-03-13 | 1 | -8/+32 |
| | |||||
* | convert newlines in cmdline to spaces | Christian Neukirchen | 2014-03-11 | 1 | -2/+2 |
| | |||||
* | make -o imply -w | Christian Neukirchen | 2014-03-11 | 1 | -3/+3 |
| | |||||
* | add option to run command directly and log to a file | Christian Neukirchen | 2014-03-11 | 1 | -24/+75 |
| | |||||
* | initial commit of extrace | Christian Neukirchen | 2014-03-11 | 1 | -0/+254 |