diff options
author | attilio <attilio@FreeBSD.org> | 2009-11-25 15:23:14 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-11-25 15:23:14 +0000 |
commit | dd300d5c8115f5a29bfc97e4b4114fbad2b923fa (patch) | |
tree | 2fc661855fe3ae219318587028a267aed4af0f2f /sys/dev/usb/controller/ehci_pci.c | |
parent | 99524169bf3f72fffa8e41ace1a952854e3f97d3 (diff) | |
download | FreeBSD-src-dd300d5c8115f5a29bfc97e4b4114fbad2b923fa.zip FreeBSD-src-dd300d5c8115f5a29bfc97e4b4114fbad2b923fa.tar.gz |
Change gcore in order to get rid of the procfs accesses and use FreeBSD's
specific sysctls and ptrace interfaces.
This change switches a bit gcore POLA that is summarized here:
- now gcore can recognize threads within the process and handle dumps
on thread-scope
- the process to be analyzed will be stopped during its gcore run
- gcore may not work with processes which are actively being analyzed
by gdb or truss
- the ptrace interface may cause syscalls to return EINTR, thus
interferring with signals handling within the process
Side note: <janitor task> the interface can be further lifted in order to
get rid of the very last procfs interfaces remnants and made more
suitable for copying with sysctl/ptrace interface </janitor task>.
Obtained from: Sandvine Incorporated
Reviewed by: emaste, rwatson
Sponsored by: Sandvine Incorporated
MFC: 1 month
Diffstat (limited to 'sys/dev/usb/controller/ehci_pci.c')
0 files changed, 0 insertions, 0 deletions