Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions ui/src/plugins/dev.perfetto.LinuxPerf/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ export default class implements PerfettoPlugin {
FROM perf_sample
JOIN thread USING (utid)
WHERE
callsite_id IS NOT NULL AND
upid IS NOT NULL
`);

Expand Down Expand Up @@ -116,7 +115,6 @@ export default class implements PerfettoPlugin {
upid
from perf_sample
join thread using (utid)
where callsite_id is not null
`);
for (
const it = tResult.iter({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,10 @@ export function createProcessPerfSamplesProfileTrack(
SELECT
p.id,
ts,
callsite_id as callsiteId,
IIF(callsite_id is null, 0, callsite_id) as callsiteId,
upid
FROM perf_sample p
JOIN thread using (utid)
WHERE callsite_id IS NOT NULL
ORDER BY ts
`,
filter: {
Expand All @@ -69,7 +68,7 @@ export function createProcessPerfSamplesProfileTrack(
select
id,
parent_id as parentId,
name,
IIF(name is null, "skipped sample", name) as name,
mapping_name,
source_file || ':' || line_number as source_location,
self_count
Expand Down Expand Up @@ -132,10 +131,9 @@ export function createThreadPerfSamplesProfileTrack(
SELECT
p.id,
ts,
callsite_id as callsiteId,
IIF(callsite_id is null, 0, callsite_id) as callsiteId,
utid
FROM perf_sample p
WHERE callsite_id IS NOT NULL
ORDER BY ts
`,
filter: {
Expand All @@ -152,7 +150,7 @@ export function createThreadPerfSamplesProfileTrack(
select
id,
parent_id as parentId,
name,
IIF(name is null, "skipped sample", name) as name,
mapping_name,
source_file || ':' || line_number as source_location,
self_count
Expand Down