System-call source excerpts

Line numbers refer to the complete decompressed trace. This page includes event lines and one line of context.

Download the complete compressed trace

  926  41    1789813864.517038 read(0<pipe:[7169111]>, "", 258048) = 0  927  41    1789813864.517142 openat(AT_FDCWD</workspace>, "/dev/null", O_RDWR|O_CLOEXEC) = 3</dev/null<char 1:3>>  928  41    1789813864.517244 pipe2([4<pipe:[7168356]>, 5<pipe:[7168356]>], O_CLOEXEC) = 0 2747  43    1789813864.927272 close(3</usr/local/lib/python3.12/urllib/response.py>) = 0 2748  43    1789813864.928607 mkdir("/workspace/public", 0777) = 0 2749  43    1789813864.928774 mkdir("/workspace/work", 0777) = 0 2750  43    1789813864.928906 openat(AT_FDCWD</workspace>, "/workspace/input/orders.json", O_RDONLY|O_CLOEXEC) = 3</workspace/input/orders.json> 2751  43    1789813864.929023 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2752  43    1789813864.929113 ioctl(3</workspace/input/orders.json>, TCGETS, 0x7ffc897c2810) = -1 ENOTTY (Inappropriate ioctl for device) 2754  43    1789813864.929311 lseek(3</workspace/input/orders.json>, 0, SEEK_CUR) = 0 2755  43    1789813864.929395 fstat(3</workspace/input/orders.json>, {st_mode=S_IFREG|0644, st_size=119, ...}) = 0 2756  43    1789813864.929483 read(3</workspace/input/orders.json>, "[{\"id\": \"order-a\", \"total_cents\": 1099}, {\"id\": \"order-b\", \"total_cents\": 2199}, {\"id\": \"order-c\", \"total_cents\": 499}]", 120) = 119 2757  43    1789813864.929586 read(3</workspace/input/orders.json>, "", 1) = 0 2758  43    1789813864.929716 close(3</workspace/input/orders.json>) = 0 2759  43    1789813864.929883 openat(AT_FDCWD</workspace>, "/workspace/public/report.json", O_WRONLY|O_CREAT|O_TRUNC|O_CLOEXEC, 0666) = 3</workspace/public/report.json> 2760  43    1789813864.930016 fstat(3</workspace/public/report.json>, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0 2761  43    1789813864.930115 ioctl(3</workspace/public/report.json>, TCGETS, 0x7ffc897c2890) = -1 ENOTTY (Inappropriate ioctl for device) 2763  43    1789813864.930324 lseek(3</workspace/public/report.json>, 0, SEEK_CUR) = 0 2764  43    1789813864.930428 write(3</workspace/public/report.json>, "{\"order_count\": 3, \"total_cents\": 3797}", 39) = 39 2765  43    1789813864.930548 close(3</workspace/public/report.json>) = 0 2886  43    1789813864.965992 ioctl(3<TCP:[7168418]>, FIONBIO, [1]) = 0 2887  43    1789813864.973022 connect(3<TCP:[7168418]>, {sa_family=AF_INET, sin_port=htons(8765), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) 2888  43    1789813864.980063 poll([{fd=3<TCP:[127.0.0.1:57512->127.0.0.1:8765]>, events=POLLOUT|POLLERR}], 1, 2000) = 1 ([{fd=3, revents=POLLOUT}]) 2899  43    1789813864.997117 ioctl(3<TCP:[7166556]>, FIONBIO, [1]) = 0 2900  43    1789813865.004184 connect(3<TCP:[7166556]>, {sa_family=AF_INET, sin_port=htons(8765), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress) 2901  43    1789813865.011171 poll([{fd=3<TCP:[127.0.0.1:57522->127.0.0.1:8765]>, events=POLLOUT|POLLERR}], 1, 4000) = 1 ([{fd=3, revents=POLLOUT}])