Page MenuHomePhabricator

Filters: add Event_Information struct.
ClosedPublic

Authored by Deepwarrior on Aug 1 2017, 3:06 AM.

Details

Reviewers
NikaWhite
Summary

This struct contain information about event with some name. List of all events
replace arrays with names and colors. Any flag(like filtred) can be added to
event easy.
T5683

Refactoring: fix string compares.

Use strncmp instead strcmp in cases when compares strings without
first symbol. It could cause errors in case event names with only one
symbol like "+".
@fix

Filters: replace color find function with event info find.

More information about event now needed: color and filter_status.

Do not show thread events with flag "filtred"

Add genlist and filters for thread events.

Genlist contain all thread events names and toggle check.
Add callback on changes on this check which change flag filtered in chosen
event.
Filters will be apply on next interval change.
T5673
T5674

Add filters for CPU events.
T5674

Use Eina_List of Event_Information struct for states instead array.

It give ability to easy add any flags for state event name.
T5683

Add state events to filtration genlist.
T5674

Filters: do not open multiple filter windows.

If filter window is already open, after clicking filters in menu
this window become active.
If filter window is already open, after opening new log window
update genlist content.
Fix localization.

Diff Detail

Branch
filters
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 4168
Build 4233: arc lint + arc unit
Deepwarrior created this revision.Aug 1 2017, 3:06 AM
Deepwarrior edited the summary of this revision. (Show Details)Aug 1 2017, 3:07 AM
NikaWhite accepted this revision.Aug 1 2017, 4:23 AM
This revision is now accepted and ready to land.Aug 1 2017, 4:23 AM
NikaWhite closed this revision.Aug 1 2017, 4:25 AM