Skip to content

Instantly share code, notes, and snippets.

View yuyichao's full-sized avatar

Yichao Yu yuyichao

View GitHub Profile
diff --git a/gprofng/src/Print.cc b/gprofng/src/Print.cc
index d6662df4745..e74ea097471 100644
--- a/gprofng/src/Print.cc
+++ b/gprofng/src/Print.cc
@@ -2514,7 +2514,7 @@ er_print_experiment::overview_summary (Ovw_data *ovw_data, int &maxlen)
len = snprintf (buf, sizeof (buf), "%.3lf", tstodouble (totals.total.t));
if (maxlen < len)
maxlen = len;
- snprintf (buf, sizeof (buf), NTXT ("%%#%d.0lf ( %#1.0f %%%%%%%%)"),
+ snprintf (buf, sizeof (buf), NTXT ("%%#%d.0lf ( %#1.0f %%%%)"),
This file has been truncated, but you can view the full file.
Script started on Wed 01 Feb 2017 09:04:57 PM EST
rr: Saving execution to trace directory `/home/yuyichao/.local/share/rr/julia-57'.
[Scheduler] Scheduling next task
[Scheduler] need to reschedule
[Scheduler] 47401 isn't blocked
[Scheduler] selecting task 47401
[RecordSession] trace time 1: Active task is 47401. Events:
[RecordSession] EXEC_START: status=0x857f (SYSCALL)
[Scheduler] Scheduling next task
[Scheduler] (47401 is un-switchable at (none))
This file has been truncated, but you can view the full file.
Script started on Wed 01 Feb 2017 08:09:53 PM EST
rr: Saving execution to trace directory `/home/yuyichao/.local/share/rr/julia-42'.
[Scheduler] Scheduling next task
[Scheduler] need to reschedule
[Scheduler] 17318 isn't blocked
[Scheduler] selecting task 17318
[RecordSession] trace time 1: Active task is 17318. Events:
[RecordSession] EXEC_START: status=0x857f (SYSCALL)
[Scheduler] Scheduling next task
[Scheduler] (17318 is un-switchable at (none))
[Scheduler] 53340 is blocked on SYSCALL: futex; checking status ...
[Scheduler] still blocked
[Scheduler] 53534 is blocked on SYSCALL: futex; checking status ...
[Scheduler] still blocked
[Scheduler] 53391 is blocked on SYSCALL: futex; checking status ...
[Scheduler] still blocked
[Scheduler] 53335 is blocked on SYSCALL: futex; checking status ...
[Scheduler] still blocked
[Scheduler] 53392 is blocked on SYSCALL: futex; checking status ...
[Scheduler] still blocked
.text
Filename: euler.jl
Source line: 0
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
This file has been truncated, but you can view the full file.
travis_fold:start:worker_info
Worker information
hostname: worker-jupiter-brain:a441ee4d-adc0-42af-ad44-b3a162faaf5a
version: v2.0.0 https://github.com/travis-ci/worker/tree/ca6cb0c5d3920912b1c3acc87c44a5da2120a971
instance: e0093353-b468-454d-8590-b13948e8b229:
startup: 58.935204607s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
# line 94 /home/yuyichao/projects/julia/tests/subarray/test/subarray.jl
Slot(id=4, typ=Any) = true
# line 95 /home/yuyichao/projects/julia/tests/subarray/test/subarray.jl
Expr(:inbounds, false)::Any
# line 404 abstractarray.jl
# line 94 multidimensional.jl
# line 53 abstractarray.jl
GenSym(39) = 3
# line 150 int.jl
Expr(:gotoifnot, Expr(:call, Base.sle_int, 1, GenSym(39))::Bool, 13)::Any
; Function Attrs: sspreq
define internal void @julia_test_cartesian_51260(%jl_value_t*, %jl_value_t*) #4 {
top:
%2 = alloca [3 x %RawFD]
%3 = alloca %RawFD
%4 = alloca %RawFD
%5 = alloca %RawFD
%6 = alloca %CartesianIndex
%7 = alloca [2 x i32]
%8 = alloca %StepRange.5
; Function Attrs: sspreq
define void @julia_test_cartesian_51260(%jl_value_t*, %jl_value_t*) #0 {
top:
%2 = alloca [3 x %RawFD]
%3 = alloca %RawFD
%4 = alloca %RawFD
%5 = alloca %RawFD
%6 = alloca %CartesianIndex
%7 = alloca [2 x i32]
%8 = alloca %StepRange.5
(gdb) up
#3 0xc515b261 in julia_test_cartesian_51260 (A=..., B=<optimized out>) at /home/yuyichao/projects/julia/tests/subarray/test/subarray.jl:104
104 ccall(:sleep, Cuint, (Cuint,), 100)
(gdb) disassemble $pc
Dump of assembler code for function julia_test_cartesian_51260:
0xc515a000 <+0>: push %ebp
0xc515a001 <+1>: mov %esp,%ebp
0xc515a003 <+3>: push %ebx
0xc515a004 <+4>: push %edi
0xc515a005 <+5>: push %esi