Create kernel thread and let it to issue the write request. We can't
do this from trace target process since we can't sleep at certain trace point (otherwise system may hang). Address PR#23155.
This commit is contained in:
parent
619df63ccc
commit
633ef38973
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: ktrace.h,v 1.39 2004/06/23 23:05:48 christos Exp $ */
|
/* $NetBSD: ktrace.h,v 1.40 2004/09/22 22:15:03 enami Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1988, 1993
|
* Copyright (c) 1988, 1993
|
||||||
@ -226,18 +226,18 @@ __END_DECLS
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
int ktrcsw(struct proc *, int, int);
|
void ktrcsw(struct proc *, int, int);
|
||||||
int ktremul(struct proc *);
|
void ktremul(struct proc *);
|
||||||
int ktrgenio(struct proc *, int, enum uio_rw, struct iovec *, int, int);
|
void ktrgenio(struct proc *, int, enum uio_rw, struct iovec *, int, int);
|
||||||
int ktrnamei(struct proc *, char *);
|
void ktrnamei(struct proc *, char *);
|
||||||
int ktrpsig(struct proc *, int, sig_t, const sigset_t *, const ksiginfo_t *);
|
void ktrpsig(struct proc *, int, sig_t, const sigset_t *, const ksiginfo_t *);
|
||||||
int ktrsyscall(struct proc *, register_t, register_t,
|
void ktrsyscall(struct proc *, register_t, register_t,
|
||||||
const struct sysent *, register_t []);
|
const struct sysent *, register_t []);
|
||||||
int ktrsysret(struct proc *, register_t, int, register_t *);
|
void ktrsysret(struct proc *, register_t, int, register_t *);
|
||||||
int ktruser(struct proc *, const char *, void *, size_t, int);
|
void ktruser(struct proc *, const char *, void *, size_t, int);
|
||||||
int ktrmmsg(struct proc *, const void *, size_t);
|
void ktrmmsg(struct proc *, const void *, size_t);
|
||||||
int ktrkmem(struct proc *, int, const void *, size_t);
|
void ktrkmem(struct proc *, int, const void *, size_t);
|
||||||
int ktrmool(struct proc *, const void *, size_t, const void *);
|
void ktrmool(struct proc *, const void *, size_t, const void *);
|
||||||
|
|
||||||
void ktrderef(struct proc *);
|
void ktrderef(struct proc *);
|
||||||
void ktradref(struct proc *);
|
void ktradref(struct proc *);
|
||||||
|
Loading…
Reference in New Issue
Block a user