@@ -19,6 +19,7 @@ import {useContextMenu} from 'react-contexify';
1919import { FlamegraphArrow } from '@parca/client' ;
2020import { useURLState } from '@parca/components' ;
2121import { USER_PREFERENCES , useCurrentColorProfile , useUserPreference } from '@parca/hooks' ;
22+ import { ProfileType } from '@parca/parser' ;
2223import { getColorForFeature , selectDarkMode , useAppSelector } from '@parca/store' ;
2324import { getLastItem , type ColorConfig } from '@parca/utilities' ;
2425
@@ -64,6 +65,7 @@ interface IcicleGraphArrowProps {
6465 arrow : FlamegraphArrow ;
6566 total : bigint ;
6667 filtered : bigint ;
68+ profileType ?: ProfileType ;
6769 profileSource : ProfileSource ;
6870 width ?: number ;
6971 curPath : CurrentPathFrame [ ] ;
@@ -111,6 +113,7 @@ export const IcicleGraphArrow = memo(function IcicleGraphArrow({
111113 width,
112114 setCurPath,
113115 curPath,
116+ profileType,
114117 profileSource,
115118 mappingsListFromMetadata,
116119 compareAbsolute,
@@ -267,6 +270,7 @@ export const IcicleGraphArrow = memo(function IcicleGraphArrow({
267270 table = { table }
268271 total = { total }
269272 totalUnfiltered = { total + filtered }
273+ profileType = { profileType }
270274 unit = { arrow . unit }
271275 compareAbsolute = { compareAbsolute }
272276 >
@@ -282,6 +286,7 @@ export const IcicleGraphArrow = memo(function IcicleGraphArrow({
282286 hideMenu = { hideAll }
283287 hideBinary = { hideBinary }
284288 unit = { arrow . unit }
289+ profileType = { profileType }
285290 />
286291 < MemoizedTooltip contextElement = { svg . current } dockedMetainfo = { dockedMetainfo } />
287292 < svg
0 commit comments