Closed Bug 1017790 Opened 11 years ago Closed 11 years ago

Expose category information in the profiler data

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: vporof, Assigned: vporof)

References

Details

Attachments

(1 file)

Bug 1007203 adds categories to entries, but we still need to expose it in the profiler data.
Blocks: 1007460
Depends on: 1007203
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Depends on: 1019182
Attached patch v1Splinter Review
Attachment #8432760 - Flags: review?(kvijayan)
Comment on attachment 8432760 [details] [diff] [review] v1 Review of attachment 8432760 [details] [diff] [review]: ----------------------------------------------------------------- ::: js/public/ProfilingStack.h @@ +116,5 @@ > uint32_t flags() const volatile { > return flags_; > } > + uint32_t category() const volatile { > + return flags_ & ~IS_CPP_ENTRY & ~FRAME_LABEL_COPY; It's better to define a constant CATEGORY_MASK, and have this expression be: return flags_ & CATEGORY_MASK The definition of CATEGORY_MASK should be right alongside the definition of IS_CPP_ENTRY and FRAME_LABEL_COPY
Attachment #8432760 - Flags: review?(kvijayan) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 32
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: