New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 677321 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit > 30 days ago
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

[Predator] Make start of new callstack tuple a namedtuple class.

Project Member Reported by kateso...@chromium.org, Dec 28 2016

Issue description

Make the return of ``IsStartOfNewCallStack`` to be a namedtuple, something like:
('StartOfCallStack', ['priority', 'format_type', 'language_type',
'metadata'])

whenever is_new_callstack is False all the other parts are None,
we can enforce that invariant by returning None whenever it's not a new
callstack. Thus, when it is a new callstack we need only return the
namedtuple, since the is_new_callstack bit is redundant.

 
Status: Fixed (was: Assigned)

Sign in to add a comment