Show call stack in perfetto from json input

Here is a example to enable call stack flame display in perfetto web page from a json input file.

复制代码
{
"name": "sched_switch",
"cat": "kernel",
"ph": "i",
"ts": 12122651546,
"pid": 29613,
"tid": 29613,
"s": "t",
"args": {
"comm": "<...>",
"cpu": 1,
"stack": [
"trace_event_buffer_commit",
"trace_event_raw_event_sched_switch",
"__schedule",
"schedule",
"schedule_hrtimeout_range_clock",
"schedule_hrtimeout_range",
"usleep_range",
"write_sensor_sda_register.isra.0",
"pvt_s5_read",
"hwmon_thermal_get_temp",
"of_thermal_get_temp",
"thermal_zone_get_temp",
"of_thermal_get_temp",
"thermal_zone_get_temp",
"temp_show",
"dev_attr_show",
"sysfs_kf_seq_show",
"kernfs_seq_show",
"seq_read_iter",
"kernfs_fop_read_iter",
"new_sync_read",
"vfs_read",
"ksys_read",
"__arm64_sys_read",
"el0_svc_common.constprop.0",
"do_el0_svc",
"el0_svc",
"el0_sync_handler",
"el0_sync"
]
}
},
相关推荐
半瓶榴莲奶^_^1 小时前
jvm java虚拟机
java·jvm
布局呆星1 小时前
Vue Router :基础使用与嵌套路由实战
前端·javascript·vue.js
小码哥_常7 小时前
安卓开发秘籍:解锁10大性能优化秘诀
前端
invicinble7 小时前
这里对java的知识体系做一个全域的介绍
java·开发语言·python
wbs_scy7 小时前
【Linux 线程进阶】进程 vs 线程资源划分 + 线程控制全详解
java·开发语言
ss2737 小时前
食谱推荐系统功能测试如何写?
java·数据库·spring boot·功能测试
AI人工智能+电脑小能手8 小时前
【大白话说Java面试题】【Java基础篇】第15题:JDK1.7中HashMap扩容为什么会发生死循环?如何解决
java·开发语言·数据结构·后端·面试·哈希算法
try2find8 小时前
打印ascii码报错问题
java·linux·前端
014-code8 小时前
CompletableFuture 实战模板(超时、组合、异常链处理)
java·数据库
Nicander8 小时前
多数据源下@transcation事务踩坑
java·后端