Skip to content

Instantly share code, notes, and snippets.

View methodmissing's full-sized avatar

Lourens Naudé methodmissing

View GitHub Profile
methodmissing-2:tests lourens$ glibtool --mode=execute gdb test_shutdown_stress
GNU gdb 6.3.50-20050815 (Apple version gdb-1705) (Fri Jul 1 10:50:06 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin"...Reading symbols for shared libraries .... done
(gdb) run
@methodmissing
methodmissing / speaker.md
Created June 26, 2012 22:18 — forked from matiaskorhonen/speaker.md
Frozen Rails Talk Proposal Template (http://2012.frozenrails.eu/)
Lourenss-MacBook-Air:.libs lourens$ valgrind --tool=memcheck --leak-check=full ./test_monitor
==65128== Memcheck, a memory error detector
==65128== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==65128== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==65128== Command: ./test_monitor
==65128==
--65128-- ./test_monitor:
--65128-- dSYM directory is missing; consider using --dsymutil=yes
UNKNOWN __pthread_sigmask is unsupported. This warning will not be repeated.
==65128==
# encoding: utf-8
require File.join(File.dirname(__FILE__), 'helper')
class TestIntegration < MosquittoTestCase
def setup
@result = nil
@client = nil
connected = false
@client = Mosquitto::Client.new(nil, true)
lourens@CarbonX1:~/src/optcarrot$ perf record -e cycles:u -j any,u -o perf.data -- ~/src/ruby/ruby/ruby -I~/src/ruby/ruby/lib -I~/src/ruby/ruby/. -I~/src/ruby/ruby/.ext/x86_64-linux -r./tools/shim.rb bin/optcarrot --benchmark --frames 10000 examples/Lan_Master.nes
fps: 41.020819873462244
checksum: 60838
[ perf record: Woken up 2840 times to write data ]
[kernel.kallsyms] with build id c8b95745cc1ba18edca26befae83a11e956471d1 not found, continuing without symbols
[ perf record: Captured and wrote 710.340 MB perf.data (908934 samples) ]
lourens@CarbonX1:~/src/optcarrot$ perf2bolt -p perf.data -o perf.fdata ~/src/ruby/ruby/ruby
PERF2BOLT: Starting data aggregation job for perf.data
PERF2BOLT: spawning perf job to read branch events
PERF2BOLT: spawning perf job to read mem events
### Keybase proof
I hereby claim:
* I am methodmissing on github.
* I am methodmissing (https://keybase.io/methodmissing) on keybase.
* I have a public key ASDrhwzuzATDd0jKEdQMv5MKjGJPeEjhdQSzX8wWPVdlago
To claim this, I am signing this object: