linux Debug methods
文章平均质量分 66
介绍各种linux debug机制
Andre-S
linux系统开发中。。。
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
linux上trace code的几种方法
但是,如果直接查看源码,源码可能代码量大,且分支多,不容易理清。就需要让相关程序运行起来查看。2.查看某个函数被执行时的routine。1.查看某个场景下的代码执行流。1.无侵入方式(不修改源码)2.侵入方式(修改源码)原创 2024-10-26 09:20:44 · 872 阅读 · 0 评论 -
ftrace - 几种tracer的打印例子
【代码】ftrace - 几种tracer的打印例子。原创 2024-09-21 21:19:49 · 968 阅读 · 0 评论 -
DWARF简析
怎样通过elf文件获取c语言的structure的布局等。原创 2024-04-04 22:15:07 · 2799 阅读 · 0 评论 -
Linux - network tracing tool
引用。原创 2023-07-23 17:43:27 · 296 阅读 · 0 评论 -
linux - Function Stack Tracing
引用。原创 2023-07-23 17:49:51 · 280 阅读 · 0 评论 -
linux - dynamic debug logging机制
Linux dynamic debug原创 2023-03-14 19:02:13 · 1016 阅读 · 0 评论 -
linux logging框架
linux logging接口原创 2023-03-11 21:18:07 · 539 阅读 · 0 评论 -
丢包分析工具
丢包分析工具原创 2023-02-26 11:08:06 · 660 阅读 · 0 评论 -
printk内核实现原理
printk如何支持各种场景,并且,高效,无锁设计。原创 2023-02-19 21:06:38 · 1054 阅读 · 0 评论 -
Linux tracing systems & how they fit together
I’ve been confused about Linux tracing systems foryears. There’s strace, and ltrace, kprobes, and tracepoints, and uprobes, and ftrace, and perf, and eBPF, and how does it all fit together and what does it all MEAN? Last week I went to Papers We Love and.转载 2021-12-19 20:31:18 · 557 阅读 · 0 评论 -
TCP CC tracing
#!/usr/bin/python # # tcp_cc Trace TCP IPv4 tcp_slow_start and tcp_cong_avoid_ai(). # For Linux, uses BCC, eBPF. Embedded C. from __future__ import print_function from bcc import BPF from bcc.utils import printb # define BPF program bpf_text =...原创 2021-11-14 21:08:16 · 1677 阅读 · 0 评论 -
linux 系统内存监控和分析
引用 1. Debug Kernel Space Memory Leak https://www.bo-yang.net/2015/03/30/debug-kernel-space-memory-leak 2. linux通过meminfo 与 slab 定位内存泄漏 https://www.jianshu.com/p/a7af7c29c9e2 3. 曾文斌: /proc/m...原创 2020-03-01 19:44:47 · 807 阅读 · 0 评论 -
Linux Tracing Stack
引用宋宝华:用eBPF/bcc分析系统性能的一个简单案例 https://mp.weixin.qq.com/s?__biz=MzAwMDUwNDgxOA==&mid=2652666944&idx=1&sn=da2bee8571925df36a65f745820c9334&chksm=810f3addb678b3cb0be4c8d0356756dc95fe947ac8...原创 2020-03-08 11:55:58 · 606 阅读 · 0 评论 -
Linux tcpdump 常用方法
引用 1. A tcpdump Tutorial with Examples — 50 Ways to Isolate Traffic https://danielmiessler.com/study/tcpdump/ 2. Linux tcpdump 命令详解 https://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659.html ...原创 2020-03-22 11:24:18 · 296 阅读 · 0 评论 -
Debug Linux kernel/module on ubuntu
引用 Systemtap DebuggingProgramCrash Linux Kernel PANIC(三)--Soft Panic/Oops调试及实例分析 使用 Crash 工具分析 Linux dump 文件 Linux 系统内核崩溃分析处理简介 Linux Kernel Crash Book Analyzing Linux kernel crash dumps with crash - The one tutorial that has it all Collecting and原创 2020-09-06 20:14:35 · 970 阅读 · 0 评论 -
如何分析linux tcp/ip 丢包问题
引用 手把手教你用Dropwatch诊断问题 通过dropwatch定位系统内核丢包 Finding out if/why a server is dropping packets github source coed: pavel-odintsov/drop_watch How to drop a packet in Linux in more ways than one 试试Linux下的ip命令,ifconfig已经过时了 How to Use IP Command in Linux w原创 2020-09-15 21:25:11 · 5965 阅读 · 0 评论 -
python 绘制iperf tput图
1. 源码 import sys import argparse import matplotlib.pyplot as plt import os import logging as log import re def iperf_data_graph(file): time_list = [] rate_list = [] with open(file, 'r') as f: row_data = f.readlines() for lin原创 2020-09-19 11:20:20 · 909 阅读 · 0 评论 -
linux 内核线程的3种常见hung panic检测机制
引用 Linux内核调试技术——进程D状态死锁检测 Linux内核调试方法总结之死锁问题分析 Linux死锁调试之hardlockup Linux死锁调试之softlockup Linux soft lockup分析 softlockup检测(watchdog)原理(用于检测系统调度是否正常) Linux内核为什么会发生soft lockup? linux 内核Lockup机制浅析 朴英敏: 用crash工具分析Linux内核死锁的一次实战 【嵌入式Linux学习七步曲之第五篇 Linu原创 2020-09-20 20:14:00 · 4372 阅读 · 0 评论
分享