- 博客(15)
- 资源 (4)
- 收藏
- 关注
原创 perfetto 抓取systrace
抓取完毕后,会自动存储到当前目录的 $(date +%Y%m%d_%H%M%S)_trace_file.perfetto-trace。二、下载external/perfetto/tools/record_android_trace。
2023-04-11 11:16:59
350
原创 git bash nautilus
git bash nautilus习惯了使用Ubuntu多年,由于项目原因,不得不使用windows电脑,没有nautilus太难受,教你如何在windows git bash 中使用初级 nautilus如何添加搜索 mingw64进入mingw64\bin 创建文件: nautilus编写 nautilus#!/bin/sh#"D:\Program Files (x86)\Notepad++\notepad++.exe" $1 &#echo `pwd`p
2021-12-11 17:54:00
704
原创 Segmentation fault (core dumped) 查看stack
1. 配置环境: ulimit -c 1024, enable core dump对当前终端有效arvin@arvin-wang ~/CLionProjects/class1/cmake-build-debug$ ulimit -c 10242. 进行测试:arvin@arvin-wang ~/CLionProjects/class1/cmake-build-debug$ ./class1 0x7ffc377098e0Segmentation fault (core dumped)arvi
2021-10-17 20:38:35
458
原创 Android Native crash tomestone trace 批量转换trace方法
Android Native crash tomestone trace分析方法Android O源代码下有批量转换 Native trace 工具 development/scripts/stack帮助信息: usage: ./stack [options] [FILE] --arch=arm|arm64|mips|mips64|x86|x86_64 t...
2018-05-18 17:00:20
440
转载 Linux下 环境变量/etc/profile、/etc/bashrc、~/.bashrc的区别
转载自: http://blog.youkuaiyun.com/qiao1245/article/details/44650929最近配置了JAVA和Scala的环境变量,发现自己对Linux下 /etc/profile、/etc/bashrc、~/.bashrc的区别不是特别清楚,特此查阅了相关资料,整理下来,供以后查阅。如有错误之处,还望各位朋友批评指正。 ①/etc/profile: 该文件登录操
2017-06-26 11:24:54
315
原创 C++ const 限定符
一、初始化对const的引用记住一点:引用的类型必须和引用的对象类型保持一致int i = 43;const int &r1 = i; //允许将普通的const int&绑定到一个普通的变量const int &r2 = r1 * 2; 理解上面几点需要记住下面几条:不能通过r1 修改变量i 的值, 实际上引用r1 指向的是一个临时拷贝temp 变量,以此达到引用类型一致的目的(const
2017-06-25 15:03:21
248
原创 minicom 获取Android 串口kernel 日志
suggest to use minicom as serial port program on PC side since putty got some issue on connection ubuntu Linux.at very 1st time:$ sudo vim /etc/minicom/minirc.dflpu port
2017-06-24 18:03:45
1335
原创 指针的类型 指针所指向 指向指针的引用
1.指针的类型从语法的角度看,你只要把指针声明语句里的指针名字去掉,剩下的部分就是这个指针的类型。这是指针本身所具有的类型。让我们看看例一中各个指针的类型:int*ptr;//指针的类型是int*char*ptr;//指针的类型是char*int**ptr;//指针的类型是int**int(ptr)[3];//指针的类型是int()[3]int*(ptr)[4];//指针的类型是int(*
2017-06-24 16:46:59
1419
原创 Gcc-GNU C Compiler 编译方法(为知学习笔记)
1、开源+效率,所有选择了它,效率提高20%~30%2、使用方法: gcc 【options】 filenames3、编译hello.c gcc hello.c ->得到 a.out executive: ./a.out4、gcc编译流程 5、编译流程拆解、
2014-03-05 14:18:40
2315
重庆三峡学院高等数学下期末考试题加答案
2012-05-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人