Skip to content

Instantly share code, notes, and snippets.

@tuxillo
tuxillo / gist:1367699
Created November 15, 2011 17:28
cloning works dude
[cocaine] /tmp> git clone git://island.quantumachine.net/dragonfly.git
Cloning into dragonfly...
remote: Counting objects: 340306, done.
remote: Compressing objects: 100% (86446/86446), done.
remote: Total 340306 (delta 253413), reused 334386 (delta 248661)
Receiving objects: 100% (340306/340306), 247.81 MiB | 1.61 MiB/s, done.
Resolving deltas: 100% (253413/253413), done.
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <err.h>
#include <dirent.h>
#include <sys/socket.h>
#include <sys/types.h>
diff --git a/bin/varsym/varsym.c b/bin/varsym/varsym.c
index 802e67c..a308aa2 100644
--- a/bin/varsym/varsym.c
+++ b/bin/varsym/varsym.c
@@ -47,6 +47,7 @@ main(int ac, char **av)
int verboseOpt = 1;
int allOpt = 0;
int execok = 0;
+ int ret = 0;
#! /bin/sh
# set -x
OUTFILE="/tmp/netperf_test.log"
NETPERF="/usr/pkg/bin/netperf"
IP=$2
ITER=$3
PARAMS="-H ${IP} -4 -l 30"
TYPE="send"
TOTAL=0
cpu1 1673: slz_wakeup_beg from(0x5241f5,0x522a92) from(lwkt_serialize_wakeup,atomic_intr_cond_exit)
cpu1 1672: slz_exit_beg from(0x523391,0x5e608d) from(lwkt_serialize_exit,ifsq_ifstart_need_schedule)
cpu1 1671: slz_enter_end from(0x522e11,0x5e605f) from(lwkt_serialize_adaptive_enter,ifsq_ifstart_need_schedule)
cpu1 1670: slz_enter_beg from(0x522d51,0x5e605f) from(lwkt_serialize_adaptive_enter,ifsq_ifstart_need_schedule)
cpu1 1669: slz_exit_end from(0x523451,0x7b4006) from(lwkt_serialize_exit,ifsq_dequeue)
cpu1 1668: slz_wakeup_end from(0x5242ac,0x522a92) from(lwkt_serialize_wakeup,atomic_intr_cond_exit)
cpu1 1667: slz_wakeup_beg from(0x5241f5,0x522a92) from(lwkt_serialize_wakeup,atomic_intr_cond_exit)
cpu1 1666: slz_exit_beg from(0x523391,0x7b4006) from(lwkt_serialize_exit,ifsq_dequeue)
cpu1 1665: slz_enter_end from(0x522e11,0x7b3ef8) from(lwkt_serialize_adaptive_enter,ifsq_dequeue)
cpu1 1664: slz_enter_beg from(0x522d51,0x7b3ef8) from(lwkt_serialize_adaptive_enter,ifsq_dequeue)
diff --git a/sys/kern/lwkt_token.c b/sys/kern/lwkt_token.c
index 059bc18..dc9504e 100644
--- a/sys/kern/lwkt_token.c
+++ b/sys/kern/lwkt_token.c
@@ -53,6 +53,7 @@
#include <sys/queue.h>
#include <sys/sysctl.h>
#include <sys/ktr.h>
+#include <ddb/ddb.h>
#include <sys/kthread.h>
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index 4f7ce91..57c35a9 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -383,13 +383,11 @@ bpfclose(struct dev_close_args *ap)
lwkt_gettoken(&bpf_token);
funsetown(&d->bd_sigio);
- crit_enter();
if (d->bd_state == BPF_WAITING)
#! /bin/sh
#set -x
REPOSITORY=/home/source/dfbsd
ARCH=""
NCPU=`sysctl hw.ncpu | cut -w -f 2`
usage()
{
#!/bin/bash
#set -x
FPATTERN="EP5_capture"
CAPTURE_DIR="/root/temp/"
REMOTE_URI="root@localhost"
NEXT=""
DEBUG=1
debug()
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <strings.h>
#include <string.h>
#include <dirent.h>
#include <fcntl.h>
#include <err.h>
#include <sys/types.h>