2019年11月8日

core dump

摘要: 1.什么是core文件?有问题的程序运行后,产生“段错误 (核心已转储)”时生成的具有堆栈信息和调试信息的文件。 编译时需要加 -g 选项使程序生成调试信息: gcc -g core_test.c -o core_test 2.怎样配置生成 core 文件(1)core文件开关 ①使用 ulimit 阅读全文

posted @ 2019-11-08 11:37 csuyangpeng 阅读(203) 评论(0) 推荐(0)

2019年10月31日

remote gdb

摘要: https://blog.csdn.net/snow_5288/article/details/72982594https://alex.dzyoba.com/blog/gdb-source-path/ gdb调试多进程与多线程 moonx@moonx:/usr/download/test/mygc 阅读全文

posted @ 2019-10-31 11:46 csuyangpeng 阅读(503) 评论(0) 推荐(0)

2019年10月30日

python tab complete

摘要: 一、查询python安装路径,一般默认是/usr/bin/ moonx@moonx:/usr/download/test/mypython$ python Python 2.7.12 (default, Oct 8 2019, 14:14:10) [GCC 5.4.0 20160609] on li 阅读全文

posted @ 2019-10-30 12:04 csuyangpeng 阅读(310) 评论(0) 推荐(0)

2019年10月22日

cuda

摘要: https://developer.nvidia.com/cuda-gpus#compute 查询gpu及其Compute Capability Q: ERROR: INVALID_CONFIG: The engine plan file is generated on an incompatibl 阅读全文

posted @ 2019-10-22 15:32 csuyangpeng 阅读(2470) 评论(0) 推荐(0)

2019年8月9日

read link-load-library

摘要: -s, --full-contents Display the full contents of all sections requestedshow code as section. 1 (my_env) moonx@moonx:chapter7$ objdump -s program1 2 3 阅读全文

posted @ 2019-08-09 17:26 csuyangpeng 阅读(657) 评论(0) 推荐(0)

mysql practice

摘要: 1 #include <mysql/mysql.h> 2 #include <stdio.h> 3 #include <stdlib.h> 4 5 int main() { 6 MYSQL *conn; 7 MYSQL_RES *res; 8 MYSQL_ROW row; 9 10 char *se 阅读全文

posted @ 2019-08-09 11:31 csuyangpeng 阅读(159) 评论(0) 推荐(0)

2019年7月16日

image update to ubuntu18.04

摘要: 最近在升级apollo docker image nvidia/cuda:10.0-cudnn7-devel-ubuntu18.04。真叫一个头大,但是往往在这个过程中能够得出很多体会,比如应该怎么做更好,更容易维护,更容易升级等等。 计划是分三个阶段来完成,目前还在第二阶段: 1. build i 阅读全文

posted @ 2019-07-16 23:51 csuyangpeng 阅读(646) 评论(0) 推荐(0)

2019年5月24日

C++11 new feature

摘要: Major new features in C++11 auto (S.4.8 -- The auto keyword) char16_t and char32_t and new literals to support them (no tutorial yet) constexpr (4.13 阅读全文

posted @ 2019-05-24 17:20 csuyangpeng 阅读(495) 评论(0) 推荐(0)

2019年4月20日

bazel remote executor--- buildfarm( in docker)

摘要: docker pull csuyangpeng/buildfarm Build label: 0.24.0 gcc version 5.4.0 bazel build //src/main/java/build/buildfarm:buildfarm-server bazel-bin/src/mai 阅读全文

posted @ 2019-04-20 16:20 csuyangpeng 阅读(470) 评论(0) 推荐(1)

2019年4月16日

bazel remote executor--- buildfarm

摘要: Build label: 0.24.0 gcc version 5.4.0 build server: bazel build //src/main/java/build/buildfarm:buildfarm-server bazel-bin/src/main/java/build/buildfa 阅读全文

posted @ 2019-04-16 17:31 csuyangpeng 阅读(1464) 评论(0) 推荐(0)

导航

//替换成自己路径的js文件