This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:~/lttng-modules$ make | |
LTTNG_KERNELDIR=/lib/modules/3.13.0-52-generic/build make -C /lib/modules/3.13.0-52-generic/build M=/home/vagrant/lttng-modules modules | |
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-52-generic' | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-discard.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-overwrite.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-client.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-discard.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-client-mmap-overwrite.o | |
CC [M] /home/vagrant/lttng-modules/lttng-ring-buffer-metadata-mmap-client.o | |
CC [M] /home/vagrant/lttng-modules/lttng-statedump-impl.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@vagrant-ubuntu-trusty-64:~$ lttng create sessionA | |
Session sessionA created. | |
Traces will be written in /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
vagrant@vagrant-ubuntu-trusty-64:~$ lttng list | |
Available tracing sessions: | |
1) sessionA (/home/vagrant/lttng-traces/sessionA-20150428-145141) [inactive] | |
Trace path: /home/vagrant/lttng-traces/sessionA-20150428-145141 | |
Live timer interval (usec): 0 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var obj = new ObjectThatDoesAsyncStuff(); //create object | |
// create some `when` checks - when these conditions are met the code in them should run | |
// (right after the variable has been changed, this async `if` should be run on it) | |
when(obj.someNumber > 10 && obj.someNumber < 20) { | |
console.log('its in range! Fire the lazer!!'); | |
} | |
when(obj.commandReady) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Making all in lttng-sessiond | |
make[3]: Entering directory `/home/vagrant/lttng-tools/src/bin/lttng-sessiond' | |
CC save.o | |
save.c: In function ‘get_ust_context_type_string’: | |
save.c:263:7: error: ‘LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER’ undeclared (first use in this function) | |
case LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER: | |
^ | |
save.c:263:7: note: each undeclared identifier is reported only once for each function it appears in | |
save.c: In function ‘save_ust_context’: | |
save.c:860:23: error: ‘LTTNG_UST_CONTEXT_PERF_THREAD_COUNTER’ undeclared (first use in this function) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define SLURP_STRING(obj, member, valp) \ | |
if (!(obj)->IsObject()) { \ | |
return env->ThrowError( \ | |
"expected object for " #obj " to contain string member " #member); \ | |
} \ | |
node::Utf8Value _##member(env->isolate(), \ | |
obj->Get(OneByteString(env->isolate(), #member))); \ | |
if ((*(const char **)valp = *_##member) == nullptr) \ | |
*(const char **)valp = "<unknown>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libust[2727/2727]: Warning: HOME environment variable not set. | |
Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
libust[2727/2727]: Warning: HOME environment variable not set. Disabling LTTng-UST per-user tracing. (in setup_local_apps() at lttng-ust-comm.c:305) |
NewerOlder