| 1931 | } |
| 1932 | |
| 1933 | QString GetParentMarkerPath(ICaptureContext &ctx, uint32_t eventId, bool &hasParent) |
| 1934 | { |
| 1935 | const ActionDescription *parent = GetParentMarker(ctx, eventId); |
| 1936 | |
| 1937 | QString markerPath; |
| 1938 | while(parent) |
| 1939 | { |
| 1940 | if(parent->flags & ActionFlags::PushMarker) |
| 1941 | { |
| 1942 | QString prevPath = markerPath; |
| 1943 | markerPath = parent->customName; |
| 1944 | if(!prevPath.isEmpty()) |
| 1945 | { |
| 1946 | markerPath += lit(" -> "); |
| 1947 | markerPath += prevPath; |
| 1948 | hasParent = true; |
| 1949 | } |
| 1950 | } |
| 1951 | parent = parent->parent; |
| 1952 | } |
| 1953 | return markerPath; |
| 1954 | } |
| 1955 | |
| 1956 | uint32_t GetParentMarkerEventId(ICaptureContext &ctx, uint32_t eventId) |
| 1957 | { |