Print this page
4719 Common patchset for jdk1.7 support preparation
*** 42,52 ****
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
! Thread.currentThread().sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
consumer.close();
--- 42,52 ----
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
! Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
consumer.close();
*** 62,72 ****
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
! Thread.currentThread().sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
try {
--- 62,72 ----
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
! Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
try {