]> granicus.if.org Git - strace/blobdiff - defs.h
Implement memory caching for umove* functions
[strace] / defs.h
diff --git a/defs.h b/defs.h
index b8feee6b21f51312388f7fece4ec3b0dfbc5935a..337c9bd74d3e4660628b7ed09bf09b2710f3b17e 100644 (file)
--- a/defs.h
+++ b/defs.h
@@ -645,6 +645,9 @@ umoven_or_printaddr_ignore_syserror(struct tcb *tcp, const kernel_ulong_t addr,
 extern int
 umovestr(struct tcb *, kernel_ulong_t addr, unsigned int len, char *laddr);
 
+/* Invalidate the cache used by umove* functions.  */
+extern void invalidate_umove_cache(void);
+
 extern int upeek(struct tcb *tcp, unsigned long, kernel_ulong_t *);
 extern int upoke(struct tcb *tcp, unsigned long, kernel_ulong_t);