blob: 2d8324414a63193b267c8ae96292a49da11b39bf [file] [log] [blame]
packet {
process_tree {
processes {
pid: 1
ppid: 0
cmdline: "init"
}
processes {
pid: 2
ppid: 1
cmdline: "system_server"
}
}
}
packet {
trusted_packet_sequence_id: 999
timestamp: 10
profile_packet {
strings {
iid: 1
str: "f1"
}
strings {
iid: 2
str: "f2"
}
strings {
iid: 3
str: "f3"
}
strings {
iid: 4
str: "liblib.so"
}
strings {
iid: 5
str: "build-id"
}
frames {
iid: 1
function_name_id: 1
mapping_id: 1
rel_pc: 0x1000
}
frames {
iid: 2
function_name_id: 2
mapping_id: 1
rel_pc: 0x2000
}
frames {
iid: 3
function_name_id: 3
mapping_id: 1
rel_pc: 0x3000
}
frames {
iid: 4
function_name_id: 2
mapping_id: 1
rel_pc: 0x4000
}
callstacks {
iid: 1
frame_ids: 1
frame_ids: 2
frame_ids: 3
}
callstacks {
iid: 2
frame_ids: 1
frame_ids: 4
}
mappings {
iid: 1
path_string_ids: 4
build_id: 5
}
process_dumps {
pid: 2
samples {
callstack_id: 1
self_allocated: 2000
self_freed: 1000
alloc_count: 2
free_count: 1
}
samples {
callstack_id: 2
self_allocated: 100
self_freed: 10
alloc_count: 10
free_count: 1
}
}
}
}
# Add some symbolization packets
packet {
module_symbols {
path: "/liblib.so"
build_id: "build-id"
address_symbols {
address: 0x3000
lines {
function_name: "symbolized f3"
source_file_name: "f3.cc"
line_number: 33
}
}
}
}