htop
htop copied to clipboard
configure option for disabling trace support
This commit is to give an example on how strace
program can be checked at configure time, and how the trace feature can be extended to support truss
, ktruss
, or whatever trace program available on the host's system.
I expect this commit be incorporated in #954.
I wonder if @dmilith can take over this branch and add TRACE_PROGRAM_ARGS
into it and incorporate truss
support.
Okay. I've done with this PR. The truss
support in #954 can be based on this, and potentially other trace programs.