Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/fstat Report jit'ed bpf fildes in fstat.
details: https://anonhg.NetBSD.org/src/rev/942b95bf79ef
branches: trunk
changeset: 782317:942b95bf79ef
user: alnsn <alnsn%NetBSD.org@localhost>
date: Sat Oct 27 22:38:07 2012 +0000
description:
Report jit'ed bpf fildes in fstat.
diffstat:
usr.bin/fstat/misc.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r a13193d7ecc1 -r 942b95bf79ef usr.bin/fstat/misc.c
--- a/usr.bin/fstat/misc.c Sat Oct 27 22:36:11 2012 +0000
+++ b/usr.bin/fstat/misc.c Sat Oct 27 22:38:07 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: misc.c,v 1.8 2011/09/10 18:34:40 christos Exp $ */
+/* $NetBSD: misc.c,v 1.9 2012/10/27 22:38:07 alnsn Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: misc.c,v 1.8 2011/09/10 18:34:40 christos Exp $");
+__RCSID("$NetBSD: misc.c,v 1.9 2012/10/27 22:38:07 alnsn Exp $");
#define _KMEMUSER
#include <stdbool.h>
@@ -118,6 +118,8 @@
(void)printf(", immed");
if (bpf.bd_seesent)
(void)printf(", seesent");
+ if (bpf.bd_jitcode != NULL)
+ (void)printf(", jit");
if (bpf.bd_async)
(void)printf(", asyncgrp=%lu", (unsigned long)bpf.bd_pgid);
if (bpf.bd_state == BPF_IDLE)
Home |
Main Index |
Thread Index |
Old Index