摘要: guide: https://ffmpeg.org/ffmpeg-protocols.html play_audio.sh #!/bin/bash action="${1}" sipnum="${2}" lo_m_host="${3}" lo_m_port="${4}" play_file="${5 阅读全文
posted @ 2024-05-12 18:35 LiYanbin 阅读(36) 评论(0) 推荐(0)
摘要: 目录基础镜像构建(包含sipp ffmpeg)容器运行文件docker-compose.yml创建运行容器 基础镜像构建(包含sipp ffmpeg) 使用3.16版本,ffmpeg rpt 打流支持设置本地ip地址 localaddr # Base images 基础镜像 FROM alpine: 阅读全文
posted @ 2024-05-12 18:24 LiYanbin 阅读(63) 评论(0) 推荐(0)
摘要: 目录一、基本理论二、制作自签证书步骤 1: 创建私有 CA1.1 生成 CA 私钥1.2 生成自签名的 CA 证书1.3 安装根证书(Unbuntu)步骤 2: 为 www.yanjiuyuan.com 创建证书签名请求(CSR)2.1 生成私钥2.2 生成 CSR步骤 3: 使用私有 CA 为 w 阅读全文
posted @ 2024-04-13 11:46 LiYanbin 阅读(990) 评论(0) 推荐(0)
摘要: 按照线性回归的方法:梯度计算如下,那么需要求w1的偏导数(整个系统关于w1的偏导数)才能算: 怎么算:使用chain-rule来算: 上面的文章计算过程没有加入激活函数,《彻底弄懂,神经网络的误差反向传播算法 》这篇文章的计算过程是加入了的激活函数 点击查看原文 反向传播算法详解(手算详解传播过程) 阅读全文
posted @ 2024-03-20 22:21 LiYanbin 阅读(78) 评论(0) 推荐(0)
摘要: 一个高并发项目开发到落地的心酸路 https://juejin.cn/post/7346021356679675967 https://mp.weixin.qq.com/s/Ou8h9YKblKl7ncf95grEvg 首先,我们没有去设计表,没有去设计接口,而是先去测试 测试: Mysql: 单节 阅读全文
posted @ 2024-03-18 13:40 LiYanbin 阅读(30) 评论(0) 推荐(0)
摘要: 目录gdb 带参数gdb attachgdb 调试LD_PRELOADgdb 条件断点gdb 打印$pid进程所有线程的堆栈并退出gdb 打印内存数据gdb 设置调试中间变量gdb ctrl-c无法退出gdb 设置断点提示Function "xxx" not defined.gdb call调用函数 阅读全文
posted @ 2024-03-07 10:27 LiYanbin 阅读(62) 评论(0) 推荐(0)
摘要: rpm_packaging_guide:Working with SPEC files:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/rpm_packaging_guide/i 阅读全文
posted @ 2024-02-02 10:20 LiYanbin 阅读(20) 评论(0) 推荐(0)
摘要: 下载RDPwrap并安装 RDPwrap:https://github.com/stascorp/rdpwrap/releases 解压后执行install.bat,安装文件位于C:\Program Files\RDP Wrapper,成功后运行RDPConf.exe进行检查 FAQ: Servic 阅读全文
posted @ 2024-01-11 00:05 LiYanbin 阅读(1445) 评论(0) 推荐(0)
摘要: 需要在服务器安装一些工具,除了安装脚本还需要安装文件,可以打包成一个文件方便管理 示例: . ├── makefile └── pushgateway ├── gtw_install.sh └── pushgateway-1.4.3.linux-amd64.tar.gz makefile: PRJ_ 阅读全文
posted @ 2023-12-23 12:01 LiYanbin 阅读(54) 评论(0) 推荐(0)
摘要: About Me 2013.07-2017.07: 🎓大学:机械电子专业、Linux驱动开发 2017.07-2017.end: 🐳工作:C程序员,视频会议系统服务器后端开发工程师 💻培训:shell,makefile,编码标准,C语言强化,以太网基础,IP路由,Git,需求分析,设计文档编写 阅读全文
posted @ 2023-11-20 00:25 LiYanbin 阅读(18) 评论(0) 推荐(0)
摘要: 测量函数执行时长: 查找函数符号 很多情况下,代码在执行时,其函数符号并不一定是代码中写的名称,因此我们可以使用以下脚本打印 出应用程序中在调用的函数符号 echo.stp probe process("/data0/app").function("*") { println(probefunc() 阅读全文
posted @ 2023-11-17 23:27 LiYanbin 阅读(109) 评论(0) 推荐(0)
摘要: 摘自:SystemTap Beginners Guide Chapter 2. Using SystemTap This chapter instructs users how to install SystemTap, and provides an introduction on how to 阅读全文
posted @ 2023-11-13 22:58 LiYanbin 阅读(135) 评论(0) 推荐(0)
摘要: 日志分析1 view 统计请求时间分布: egrep --no-filename '^2023-10-09 17:2[3-4].*_WsServerCallBack.*Sending message' $(ls -rt cs*log | tail -n 500) -A 3 | grep forwar 阅读全文
posted @ 2023-10-16 22:17 LiYanbin 阅读(29) 评论(0) 推荐(0)
摘要: 原文链接: Performance Speed Limits How fast can it go? Sometimes you just want to know how fast your code can go, without benchmarking it. Sometimes you h 阅读全文
posted @ 2023-10-04 01:19 LiYanbin 阅读(59) 评论(0) 推荐(0)
摘要: 64位 typedef struct mem_list* cns_detail_encode_result[encode_type_max]; (gdb) p &(( struct mem_list**)0x7fffb4557950)[0] # & 取对应点的位置 $29 = ( struct me 阅读全文
posted @ 2023-08-12 11:04 LiYanbin 阅读(15) 评论(0) 推荐(0)
摘要: > typdef定义数组后的初始化 | 计算机内部只知晓地址,类型为上层的高级语义 ```c #include typedef int ARR_INT_2[2]; void test(ARR_INT_2 *t) { int *t1; int *t2; t1 = &(((int*)t)[0]); t2 阅读全文
posted @ 2023-07-23 18:03 LiYanbin 阅读(20) 评论(0) 推荐(0)
摘要: PYTHON随笔-logging import logging from logging.handlers import RotatingFileHandler gLogFile = '/var/log/dbm_py.log' LOG_FORMAT = "%(asctime)s [%(levelna 阅读全文
posted @ 2023-07-13 09:21 LiYanbin 阅读(24) 评论(0) 推荐(0)
摘要: 原文链接:https://mp.weixin.qq.com/s/T1BmaP2-XbJIpLNsFxKeEQ 0. 背景介绍 我们手里这块RK3399开发板出厂时带的是2017.09版本的U-Boot。 U-Boot 2017.09 (Sep 26 2021 - 08:53:15 +0000) Mo 阅读全文
posted @ 2023-06-17 21:59 LiYanbin 阅读(307) 评论(0) 推荐(0)
摘要: 原文链接:https://mp.weixin.qq.com/s/qqxDObNs8vjTFLQueX1J-A 哈喽,我是老吴。 非常怀念写文章的感觉。 昨晚复习了一些 Linux 驱动的基础知识,给大家分享一下吧。 先说结论: 多年来,我接触到的 Linux 驱动教程大多都是从 0 编写,这样对初学 阅读全文
posted @ 2023-05-30 11:04 LiYanbin 阅读(49) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/127954817 上一章我们学习了,kprobe 可以实现动态内核的注入,基于中断的方法在任意指令中插入追踪代码,并且通过 pre_handler/post_handler去接收回调。另一个 阅读全文
posted @ 2023-05-29 17:04 LiYanbin 阅读(191) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/127942216 Linux krpobe调试技术是内核开发者专门为了编译跟踪内核函数执行状态所涉及的一种轻量级内核调试技术,利用kprobe技术,内核开发人员可以在内核的绝大多数指定函数中 阅读全文
posted @ 2023-05-29 17:00 LiYanbin 阅读(288) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/127838701 学习完了ftrace的function的基本功能,其作用主要是用来跟踪特定内核函数调用的频次,对于内核,特别是初学者,对于函数的调用关系不清晰,并且内核中有很多函数指针,会 阅读全文
posted @ 2023-05-29 16:51 LiYanbin 阅读(258) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/127814059 前面我们学习了ftrace的一些基本概念和用法,本章开始我们深入学习ftrace提供了哪些机制,根据之前的学习,我们知道了ftrace可用来快速排查以下问题 特定的内核函数 阅读全文
posted @ 2023-05-29 16:47 LiYanbin 阅读(224) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/119519361 Ftrace设计作为一个内部的tracer提供给系统的开发者和设计者,帮助他们弄清kernel正在发生的行为,它能够调式分析延迟和性能问题。对于前一章节,我们学习了Ftra 阅读全文
posted @ 2023-05-29 16:44 LiYanbin 阅读(150) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/119494200 对于ftrace架构,主要来了解下内核是如何实现的,其主要包括如下内容: ring buffer的原理和代码分析 tracer(function、function_grap 阅读全文
posted @ 2023-05-29 16:38 LiYanbin 阅读(135) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/u012489236/article/details/119427091 我们做内核开发的时候,我们经常要去跟踪linux内核的函数调用关系,对于我们来说ftrace是一个十分好用的工具,值得我们好好学习。ftrace不只是一个函数跟踪工具,它的 阅读全文
posted @ 2023-05-29 16:32 LiYanbin 阅读(180) 评论(0) 推荐(0)
摘要: 原文链接:https://blog.csdn.net/zhuwade/article/details/121944736 由于我们公司自己需要开发烧录工具,本人通过google搜相关文档和看ARM公司的技术文档,终于实现了这个功能。因为涉及的内容知识点比较多,对于玩嵌入式MCU的小白来说要普及的知识 阅读全文
posted @ 2023-05-28 16:29 LiYanbin 阅读(1008) 评论(0) 推荐(0)