jstack java stack tracing tool

jstack java stack tracing tool 1. Introduction to jstack jstack (stack trace for java) is a stack tracing tool that comes with the Java virtual machine. jstack is mainly used to generate a thread snapshot of the current moment of the Java virtual machine. The thread snapshot is the method currently being executed by each […]

Tracing DNS query paths in Kubernetes

Follow the “Wonderful World of Linux” on the public account Set it as a “star” and let you play Linux every day! In past articles, we have traced network packets in Kubernetes [1], this article will trace DNS queries in Kubernetes. Let’s take the example of resolving the Service fully qualified domain name (FQDN) foo.bar.svc.cluster.local […]

Frida prints the call stack of the function to facilitate tracing back the entire calling process of the function.

if (ObjC.available) { try { //hook – ZYOperationView operationCopyLink var className = “ZYMediaDownloadHelper”; var funcName = ” + downloadMediaUrl:isVideo:progress:finishBlock:”; var hook = eval(‘ObjC.classes.’ + className + ‘[“‘ + funcName + ‘”]’); Interceptor.attach(hook.implementation, { onEnter: function(args) { // args[0] is self // args[1] is selector (SEL “sendMessageWithText:”) // args[2] holds the first function argument, an NSString […]

Using W3C Trace Context in a distributed tracing system

Use W3C Trace Context in distributed tracing systems https://dev.to/luizhlelis/using-w3c-trace-context-standard-in-distributed-tracing-3743 In software development, when a system encounters a runtime failure, developers will instinctively try to find where the failed method was called and where the original request was. This is what stack trace does, as shown in the example below. Unhandled exception. System.InvalidOperationException: Stack trace example […]

RISC-V architecture exception handling and stack backtracing (1)

Table of Contents RISC-V stack frame structure analysis After compilation optimization is turned on, FP is treated as a normal register. Implement your own exception handling stack traceback function Exception handling printing context and task stack verification The previous two articles analyzed the startup of FreeRTOS on RISC-V and the processing flow of OS task […]

ROS map/pixel coordinate tracing point debugging [Python source code implementation]

Article directory ROS python map point debugging tool 1. Rviz tracing points 1.1 Requirement description 1.2 visualization markers 1.3 Engineering Practice 2. Draw points on static map images 2.1 Requirement description 2.2 Engineering practice ROS python map point debugging tool 1. Rviz drawing points 1.1 Requirements Description In ROS development, sometimes image files are loaded […]

Memory Access Tracing

Memory Access Tracing refers to the monitoring and recording of all memory read and write operations during the execution of a program. It provides insight into how a program interacts with its memory, which is invaluable for various applications like performance optimization, security analysis is, and debugging . Key Concepts of Memory Access Tracing: Memory […]

GAMES101 Lecture14 Ray Tracing 2

Table of Contents Uniform Spatial Partitions (Grids) Preprocess – Build Acceleration Grid (preprocessing, build acceleration grid) Ray-Scene Intersection Spatial Partitions KD-Tree Pre-Processing (preprocessing KD tree) Traversing a KD-Tree (traversing the KD tree) Object Partitions & Bounding Volume Hierarchy(BVH) Building BVHs Data Structure for BVHs (data structure for storing BVH) The difference between space division and […]