59c59
< # APC project generation based on Gator v12 (DS-5 v5.13)
---
> # APC project generation based on Gator v17 (DS-5 v5.17)
81c81
< APC project generation based on Gator v12 (DS-5 v5.13)
---
> APC project generation based on Gator v17 (DS-5 v5.17)
201d200
< # variable length packed 4-byte signed value
203a203,221
> more = True
> while more:
> b = x & 0x7f
> x = x >> 7
> if (((x == 0) and ((b & 0x40) == 0)) or \
> ((x == -1) and ((b & 0x40) != 0))):
> more = False
> else:
> b = b | 0x80
> ret.append(b)
> return ret
>
> # For historical reasons, 32/64-bit versions of functions are presevered
> def packed64(x):
> return packed32(x)
>
> # variable length packed 4-byte signed value
> def unsigned_packed32(x):
> ret = []
227c245
< def packed64(x):
---
> def unsigned_packed64(x):
385c403,407
< body = packed64(timestamp) + packed64(uptime)
---
> newline_canary = stringList("1\n2\r\n3\r4\n\r5")
> monotonic_delta = packed64(0)
> end_of_attr = stringList("")
> body = newline_canary + packed64(timestamp) + packed64(uptime)
> body += monotonic_delta + end_of_attr
418c440,442
< def coreNameFrame(name):
---
> # - core_id: packed32
> # - cpuid: packed32
> def coreNameFrame(name, core_id, cpuid):
421c445
< body = packed_code + stringList(name)
---
> body = packed_code + packed32(core_id) + packed32(cpuid) + stringList(name)
424a449,459
> # IRQ Cookie name message
> # - cookie: packed32
> # - name: string
> # - irq: packed32
> def irqCookieNameFrame(cookie, name, irq):
> frame_type = "Name"
> packed_code = packed32(5)
> body = packed_code + packed32(cookie) + stringList(name) + packed32(irq)
> ret = addFrameHeader(frame_type, body, 0)
> return ret
>
1002c1037,1038
< xml.set("protocol", "12")
---
> xml.set("protocol", "17")
> xml.set("backtrace_processing", "none")