Skip to content

Instantly share code, notes, and snippets.

Oct 09 21:21:15.040100 SCSI State: Selected by host ID 1
Oct 09 21:21:15.040352 SCSI State: Command phase
Oct 09 21:21:15.073097 SCSI State: Information transfer phase: Command
Oct 09 21:21:15.073337 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 09 21:21:15.093120 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 09 21:21:15.093370 SCSI Commands: READ command (0x08) received
Oct 09 21:21:15.114095 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 09 21:21:15.114335 SCSI State: Information transfer phase: Data in
Oct 09 21:21:15.114514 File system: filesystemOpenLunForRead(): Successful
Oct 09 21:21:15.134095 SCSI Commands: Transferring requested blocks to the host...
Oct 09 08:55:29.297136 SCSI State: Selected by host ID 1
Oct 09 08:55:29.297577 SCSI State: Command phase
Oct 09 08:55:29.329127 SCSI State: Information transfer phase: Command
Oct 09 08:55:29.329365 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 09 08:55:29.350136 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 09 08:55:29.350438 SCSI Commands: READ command (0x08) received
Oct 09 08:55:29.370128 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 09 08:55:29.370428 SCSI State: Information transfer phase: Data in
Oct 09 08:55:29.370586 File system: filesystemOpenLunForRead(): Successful
Oct 09 08:55:29.391113 SCSI Commands: Transferring requested blocks to the host...
Oct 08 22:12:20 SCSI State: Selected by host ID 1
Oct 08 22:12:20 SCSI State: Command phase
Oct 08 22:12:20 SCSI State: Information transfer phase: Command
Oct 08 22:12:20 SCSI Commands: CDB byte 0 decode: Command group 0 (6 bytes) opcode 8
Oct 08 22:12:20 SCSI Commands: Received command operand bytes: 8 0 0 0 16 0
Oct 08 22:12:20 SCSI Commands: READ command (0x08) received
Oct 08 22:12:20 SCSI Commands: Target LUN = 0, LBA = 0, Blocks = 16
Oct 08 22:12:20 SCSI State: Information transfer phase: Data in
Oct 08 22:12:20 File system: filesystemOpenLunForRead(): Successful
Oct 08 22:12:20 SCSI Commands: Transferring requested blocks to the host...
~ ➔ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c13179042769 060e74024bb0 /usr/sbin/sshd -D -o 9 seconds ago Up 15 seconds 0.0.0.0:49154->22/tcp grave_galileo
92f30ea824db 173f507c3095 /bin/sh -c echo 'kit 10 seconds ago Exit 0 naughty_mclean
120fa4af56c1 772b59c29cfc /bin/sh -c echo kitc 10 seconds ago Exit 0 silly_bohr
006a8cf0d9e2 0aa7e3f8db6d /bin/sh -c useradd - 13 seconds ago Exit 0 distracted_poincare
ec9659649ed0 cebb9d7222f5 /bin/sh -c mkdir -p 13 seconds ago Exit 0
~/Projects/venda/app ➔ diff -u venda-siteperl/MooseX/UndefTolerant/Class.pm Class.pm
--- venda-siteperl/MooseX/UndefTolerant/Class.pm 2014-01-14 18:21:11.000000000 +0000
+++ Class.pm 2014-01-14 18:21:01.000000000 +0000
@@ -22,19 +22,24 @@
my $init_arg = $attr->init_arg;
my $type_constraint = $attr->type_constraint;
- my $tc_says_clean = ($type_constraint && !$type_constraint->check(undef) ? 1 : 0);
# FIXME: not properly sanitizing field names - e.g. consider a field name "Z'ha'dum"
~/Projects/venda/app ➔ diff -u venda-siteperl/MooseX/UndefTolerant/Class.pm Class.pm
--- venda-siteperl/MooseX/UndefTolerant/Class.pm 2014-01-14 13:43:33.000000000 +0000
+++ Class.pm 2014-01-14 13:42:25.000000000 +0000
@@ -22,19 +22,22 @@
my $init_arg = $attr->init_arg;
my $type_constraint = $attr->type_constraint;
- my $tc_says_clean = ($type_constraint && !$type_constraint->check(undef) ? 1 : 0);
# FIXME: not properly sanitizing field names - e.g. consider a field name "Z'ha'dum"
use strict;
use warnings;
use Test::More;
package Foo;
use Moose;
use MooseX::UndefTolerant;
use MooseX::Types::Moose qw/ Str /;
[chris@freebsd64 libusdt]$ ./test_usdt a b i i i i i i i i
enabled
unable to disable provider: failed to unload DOF: Bad address
# elsewhere:
[chris@freebsd64 ~]$ sudo dtrace -Zn 'testlibusdt*:::{ trace(arg0); trace(arg1); trace(arg2); trace(arg3); trace(arg4); trace(arg5); trace(arg6); trace(arg7); }'
dtrace: description 'testlibusdt*:::' matched 0 probes
dtrace: buffer size lowered to 1m
~/Projects/libusdt ➔ ./test_usdt32 foo bar i i
enabled
~/Projects/libusdt ➔ sudo dtrace -Zn 'testlibusdt*:::{ trace(arg0); trace(arg1) }'
dtrace: description 'testlibusdt*:::' matched 0 probes
CPU ID FUNCTION:NAME
1 4915 foo:bar 1 2
1 4916 foo:bar 1 2
~/ruby-usdt ➔ git submodule update --init
Submodule 'ext/libusdt' (https://github.com/chrisa/libusdt) registered for path 'ext/libusdt'
Cloning into 'ext/libusdt'...
remote: Counting objects: 347, done.
remote: Compressing objects: 100% (115/115), done.
remote: Total 347 (delta 231), reused 347 (delta 231)
Receiving objects: 100% (347/347), 76.46 KiB, done.
Resolving deltas: 100% (231/231), done.
Submodule path 'ext/libusdt': checked out 'ac9e412ff58b8b0208608ef5c764fbb3bae755ee'
~/ruby-usdt ➔ cd ext/libusdt/