Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Oh man, this is major. I would’ve loved to have something like that 10 years ago when CPU was a bit more precious. Still very useful today, just not to the same extent.


I wish more devs continued to realize that CPU is precious. One executable running in isolation is only limited by how fast it can consume clock cycles, but we now have hundreds of executables each running dozens or hundreds of functions all the time. One unoptimized IO function can cause stutters across the whole system as it runs. Thousands of unoptimized IO functions can....

Well, we all know. We use systems like that daily.


Didnt know this existed, interesting, but certainly could be useful at a forensic level, have had tools to highlight slow running multi threaded code in apps for probably about 15years now, but this takes it to a whole new level.

From the link it says: " it needs a post-Skylake Intel processor " https://en.wikipedia.org/wiki/Skylake_(microarchitecture)

Man page has a description https://www.man7.org/linux/man-pages/man1/perf-intel-pt.1.ht...

Dont know who LauterBach in Germany are, but they have a training manual which goes back to 1989.

https://www2.lauterbach.com/pdf/training_ipt_trace.pdf

https://www2.lauterbach.com/pdf/trace_intel_pt.pdf

https://www2.lauterbach.com/pdf/debugger_x86.pdf

From their manuals "The Intel® Processor Trace (IPT) works similar to the LBR and BTS feature of Ix86 based cores (see “CPU specific Onchip Trace Commands” (debugger_x86.pdf)"

I knew about the debugger on ARM cpu's like the Rpi, didnt know about Intel having one, but its suggested AMD dont have one either, so there might be some security reason for that, depends on if the trace is just output only or whether its possible to use things like SOIC clips to alter bits and bytes in realtime, but like slowed down not normal cpu clock speeds.


>Dont know who LauterBach in Germany are

They make a lot of debuggers for embedded targets. Often with tracing capability and such. Really good tools.


Really good tools and extremely expensive


That is true, but at least for the targets I've worked on it makes sense because the number of potential buyers is just very low.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: