Sha256: 5c8f10fc59a07ec50a5c1303741506a9238606cf8dc3f8c777f8def50ce401b1

Contents?: true

Size: 564 Bytes

Versions: 1

Compression:

Stored size: 564 Bytes

Contents

#!/usr/sbin/dtrace -s
#pragma D option quiet
#pragma D option dynvarsize=64m


pid*:memcached:*do_item_update*:entry { 
    printf("COMMAND == %s \n", probefunc);
}

pid*:memcached:process_get_command:entry { 
    self->conn_id = arg0;
/*    self->pointer_to_string = copyin(arg1, 4); */
    printf("GET == connection %d == update %p %d\n", arg0, arg1, arg2);
}

pid*:memcached:process_update_command:entry { 
    self->conn_id = arg0;
/*    self->pointer_to_string = copyin(arg1, 4); */
    printf("UPDATE == connection %d == update %p %d\n", arg0, arg1, arg2);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
xray-1.1 bin/xray_trace_memcached.d