sdk/tools/dynamic-analyzer.git
9 years agowindowactivator:changed the way about focusing on DA when profiling with DA on IDE 55/38355/4
hyeran74.kim [Fri, 17 Apr 2015 10:10:25 +0000 (19:10 +0900)]
windowactivator:changed the way about focusing on DA when profiling with DA on IDE

Change-Id: Id7f91e0b24cd15d45988ef2be0e64c855e0d24d6
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoNetwork:changed items order in tooltip 88/38188/4
hyeran74.kim [Tue, 14 Apr 2015 08:36:57 +0000 (17:36 +0900)]
Network:changed items order in tooltip

Change-Id: Id0e62dde51e9f07d01ad898e5f1d020b7f4470a0
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoOpenGL ES:changed name and order of columns 82/37982/2
hyeran74.kim [Thu, 9 Apr 2015 07:18:27 +0000 (16:18 +0900)]
OpenGL ES:changed name and order of columns

Change-Id: I60418e864f1077bc384f6c08b80a37d2d3e1bb29
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoMerge "Warning dialog:support three different dialog sizes" into tizen
woojin jung [Wed, 10 Jun 2015 10:55:59 +0000 (03:55 -0700)]
Merge "Warning dialog:support three different dialog sizes" into tizen

9 years agoWarning dialog:support three different dialog sizes 11/37911/4
hyeran74.kim [Wed, 8 Apr 2015 08:43:28 +0000 (17:43 +0900)]
Warning dialog:support three different dialog sizes

Change-Id: I178a7c2d42b1b20812d3f8ad566462e5df44e85a
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoMerge "Widget : fixed bug about the problem the combo pop-up doesn't go away in some...
woojin jung [Wed, 10 Jun 2015 02:16:25 +0000 (19:16 -0700)]
Merge "Widget : fixed bug about the problem the combo pop-up doesn't go away in some case" into tizen

9 years agoMerge branch 'da-protocol' into tizen 27/40827/1
greatim [Tue, 9 Jun 2015 10:40:39 +0000 (19:40 +0900)]
Merge branch 'da-protocol' into tizen

Signed-off-by: greatim <jaewon81.lim@samsung.com>
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/common/DAResult.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/communicator/Communicator30.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/communicator/DataChannelThread.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/timeline/common/TimelineChartManager.java

Change-Id: I58c91337f0b1fd03b18807b3addab45fad1c3431

9 years agoMerge "UI : Adjust source view tooltip location" into tizen
woojin jung [Tue, 9 Jun 2015 09:59:14 +0000 (02:59 -0700)]
Merge "UI : Adjust source view tooltip location" into tizen

9 years agoUI : Adjust source view tooltip location 23/40823/1
jungwook.ryu [Tue, 9 Jun 2015 09:57:53 +0000 (18:57 +0900)]
UI : Adjust source view tooltip location

Change-Id: Ie54a604badb82c30d54aef6772dae4b556c86bdb
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoMerge "CallTrace : set Call Trace table name" into tizen
woojin jung [Tue, 9 Jun 2015 09:49:22 +0000 (02:49 -0700)]
Merge "CallTrace : set Call Trace table name" into tizen

9 years agoSETTING: remove 'protocol' file (not necessary anymore) 21/40821/1
greatim [Tue, 9 Jun 2015 09:48:17 +0000 (18:48 +0900)]
SETTING: remove 'protocol' file (not necessary anymore)

remove 'protocol' file (not necessary anymore)

Change-Id: Ife142f737eabd5ffddeed3ea3f5aea0ffabec2e0
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "Setting : prevent character value in input box" into tizen
woojin jung [Tue, 9 Jun 2015 09:47:37 +0000 (02:47 -0700)]
Merge "Setting : prevent character value in input box" into tizen

9 years agoMerge "[Timeline] : Apply PID filtering - CPU, Heap, Process Chart." into tizen
woojin jung [Tue, 9 Jun 2015 09:31:08 +0000 (02:31 -0700)]
Merge "[Timeline] : Apply PID filtering - CPU, Heap, Process Chart." into tizen

9 years agoMerge "Timeline : revision screenshot logic 1. CreateImageThread multi -> single...
woojin jung [Tue, 9 Jun 2015 09:08:53 +0000 (02:08 -0700)]
Merge "Timeline : revision screenshot logic 1. CreateImageThread multi -> single thread 2. fix bug image rendering to chart" into tizen

9 years agoMerge "Timeline : Apply EFL Gesture event to UI Event chart" into tizen
woojin jung [Tue, 9 Jun 2015 08:26:43 +0000 (01:26 -0700)]
Merge "Timeline : Apply EFL Gesture event to UI Event chart" into tizen

9 years agoINTERNAL: refactor DAResult (enum -> class) 57/40757/1
greatim [Mon, 8 Jun 2015 17:38:17 +0000 (02:38 +0900)]
INTERNAL: refactor DAResult (enum -> class)

change DAResult to class from enum
DAResult has 'ErrorCode' enum and detail message 'String'

Change-Id: Ia828d6e7737322a62734966003642cd2c6eb1008
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix some typo and DAResult usage 55/40755/1
greatim [Mon, 8 Jun 2015 16:58:30 +0000 (01:58 +0900)]
INTERNAL: fix some typo and DAResult usage

fix some typo
fix some DAResult usage
rollback to able to parse partial binary info in protocol 3.0

Change-Id: If24d651645be1088a933e45f2c955939e690a351
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoUX: make showWarning() method to called by asyncExec 11/40511/2
greatim [Thu, 4 Jun 2015 12:15:19 +0000 (21:15 +0900)]
UX: make showWarning() method to called by asyncExec

make showWarning() method to called by asyncExec because it is more unaffected action

Change-Id: I12a203ea68794d0520d71e916bf2ae2587961961
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: refactor DAResult (add reset method and use StringBuffer) 02/40502/3
greatim [Thu, 4 Jun 2015 11:00:20 +0000 (20:00 +0900)]
INTERNAL: refactor DAResult (add reset method and use StringBuffer)

refactor DAResult (add reset method and use StringBuffer)
Add some user error messages
Do not show warning dialog inside communicator anymore
Instead, show warning dialog in caller of communicator method

Change-Id: I4f11a085816332a13de41ebbf299b0499835ee25
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoLIFECYCLE: obtain lifecycle API ID when every trace is started 30/40430/2
greatim [Wed, 3 Jun 2015 13:41:44 +0000 (22:41 +0900)]
LIFECYCLE: obtain lifecycle API ID when every trace is started

Obtail lifecycle API ID when every trace is started
Bug fix in IndexedHashMap
Add some error log for debugging

Change-Id: I140f09f8c07151e77061c43dd1e70bf3a5473955
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: apply the feedback of reviews (fix some typo, comments, names) 50/40350/2
greatim [Tue, 2 Jun 2015 16:42:10 +0000 (01:42 +0900)]
PROTOCOL: apply the feedback of reviews (fix some typo, comments, names)

Fix some typos
Fix some boilerplates
Fix some comments
Fix some method and variable name (by code convention)
Fix some potential bugs

Change-Id: Ibf21c9cfde104ee8ff784102f9ec4cdef8a63f0c
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE 03/40303/2
greatim [Tue, 2 Jun 2015 06:49:16 +0000 (15:49 +0900)]
PROTOCOL: fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE

fix a bug during parsing MSG_FUNCTION_ENTRY for FUNCTION_TYPE_FILE

Change-Id: Ic0fcbfc37505d176056a73e6e03bcd51a0e1c7ab
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: add debug print routine for control channel 84/39984/2
greatim [Wed, 27 May 2015 07:52:14 +0000 (16:52 +0900)]
PROTOCOL: add debug print routine for control channel

Add debug print routine for control channel
Run "ps" commond as root privilege when get list of processes for running process analysis
Add protocol version enum

Change-Id: I859629d27bcfe88ee327ba88c58ce79bc4fb3c8b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Implement control channel communicator for protocol 4.0 18/39918/2
greatim [Tue, 26 May 2015 10:58:25 +0000 (19:58 +0900)]
PROTOCOL: Implement control channel communicator for protocol 4.0

Implement control channel communicator for protocol 4.0
Implement to get version by message in BaseCommunicator
Change the type of apis collection to map from list in DeviceStatusInfo
Move DATime class to model package

Change-Id: I9958046d33c45a0f4dd6d14f7ec0a3f1bace2d20
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: refactor debug print routine of data channel logs 71/39871/2
greatim [Mon, 25 May 2015 13:40:09 +0000 (22:40 +0900)]
PROTOCOL: refactor debug print routine of data channel logs

refactor debug print routine of data channel logs
parse logs (process info, memory map, ...) in data model instead of MessageParser

Change-Id: Iad39372513c98b0b805a9c36b93707118af687de
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Make sure Protocol 3.0 implementation 22/39722/2
greatim [Thu, 21 May 2015 12:30:33 +0000 (21:30 +0900)]
PROTOCOL: Make sure Protocol 3.0 implementation

Make sure to support protocol 3.0
Remove unused constants from AnalyerConstants (specially protocol constants)
Remove RuntimeConfiguration from Global.java

Change-Id: I93efb115265661b2b96d0c111d7453850b32f7a7
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL, SETTING: Remove protocol specific from settings 37/39637/2
greatim [Wed, 20 May 2015 07:35:29 +0000 (16:35 +0900)]
PROTOCOL, SETTING: Remove protocol specific from settings

Modify config files (setting, feature, template)
 - changed feature index value, removed protocol specific values, removed protocol file
Add IProtocolConfig interface and implementation
 - manage protocol specific values for configuration
Refactor sendConfiguration() of Communicator30
Change Feature enum names
Remove protocol specific from settings
 - remove protocol list from FeatureData
 - remove ProtocolData
 - remove protocol specific functions from SettingDataManager

Change-Id: I4c7ddc18cda23417fbd4c5e8a1c01c0132508450
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoSETTING: refactor SettingDataManager and related classes 14/39314/3
greatim [Wed, 13 May 2015 02:46:59 +0000 (11:46 +0900)]
SETTING: refactor SettingDataManager and related classes

Refactor SettingDataManager
Make Feature and Template enum (removed related constants from SettingConstatns)
Refactor and move setting related classes (FeatureData, FeatureDataValue, ProtocolData, TemplateData, TargetData)

Change-Id: I5980ed080ae8f6099167abc4b87be01a8c7c5838
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Remove protocol specific from ReplayManager and refactor Communicator30 66/39166/2
greatim [Mon, 11 May 2015 06:32:47 +0000 (15:32 +0900)]
PROTOCOL: Remove protocol specific from ReplayManager and refactor Communicator30

Move ApplicationInst, FunctionInst, LibraryInst to protocol package
Remove UserSpaceInst, ReplayEvent, EventObject (unnecessary)
Refactor ReplayManager (remove protocol specific)
Refactor Communicator30 (remove UserSpaceInst usage)
Remove Streamable interface usage (replaced ISerializable)

Add feature value to ProtocolConstants30
Move appType constant to ProtocolConstant30

Remove put() from ProtocolSerializer
Change Communicator40 to inherit from Communicator30
Refactor ReplayData (remove objectCount)

Change-Id: I2ab31cc6113c452786642b4673b081d36409b290
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: make sub package for each protocol version 94/39094/2
greatim [Fri, 8 May 2015 12:44:59 +0000 (21:44 +0900)]
PROTOCOL: make sub package for each protocol version

Make sub package for each protocol version and move related classes
remove BasicMessage (unnecessary)

Change-Id: I1d0decf091f62d39d1004d39149551b4b23859d2
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: rename makeData() to parse() of LogData classes 93/39093/2
greatim [Fri, 8 May 2015 12:25:19 +0000 (21:25 +0900)]
PROTOCOL: rename makeData() to parse() of LogData classes

Rename makeData() to parse() of LogData classes
Remove IParseDataMessage and DataMessageParser30 class (design change)
Refactor LogDataFactory
Set protocol version value to LogData

Change-Id: I9740339e09085337ce4496215bd0a3269478705b
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: add a few of new classes for protocol compatibility (especially for Data... 62/39062/2
greatim [Thu, 7 May 2015 17:40:32 +0000 (02:40 +0900)]
PROTOCOL: add a few of new classes for protocol compatibility (especially for Data Channel)

add some protocol related classes
 - protocol version management class
 - data message parser interface
 - data message parser implementation class for protocol 3.0
 - protocol mutable constants class
 - protocol immutable constants class
merge ProtocolParser and ByteStreamData (removed ByteStreamData)
move constants related protocol to ProtocolConstants and ProtocolConstants30 (removed DataChannelConstants)
remove configuration history list from Project.java (not used)
add extra data class for Data channel message (like process info, memory map, error data, ...)

Change-Id: I5f724517755ddd2835f8d750aa0df0a838c9ce32
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoPROTOCOL: Implement protocol compatibility layer for control channel 84/38684/2
greatim [Fri, 24 Apr 2015 11:06:46 +0000 (20:06 +0900)]
PROTOCOL: Implement protocol compatibility layer for control channel

Implement protocol compatibility layer for control channel
DeviceInfo does not manage socket information anymore. (communicator does)
Make BaseCommunicator to manage control socket connection and protocol version information (protocol common part)
Make SubCommunicator to manage data socket connection and handle protocol specific function (protocol specific part)
Refactor DACommunicator and CommunicatorUtils (mainly method diet)
Refactor Communicator30.java as subclass of SubCommunicator
Make ProtocolParser and ProtocolSerializer to parse and make protocol messages
Make ProtocolNotSupportedException for unsupported message by some protocol versions
Refactor trivially : ProcessInformation, DeviceStatusInfo, Toolbar, BinarySettingProcessor

Change-Id: I80e0b958134c7fc2eff62f075081d49e70f4f24e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix a bug that trace is not stopped properly when terminate msg is coming... 31/38931/4
greatim [Thu, 30 Apr 2015 13:08:17 +0000 (22:08 +0900)]
INTERNAL: fix a bug that trace is not stopped properly when terminate msg is coming before end of staring

fix a bug that trace is not stopped properly if terminate message is coming before changing DA state to RUNNING.

Signed-off-by: greatim <jaewon81.lim@samsung.com>
Change-Id: I484ffcb68d3421a65b9c5680ee6e1ae7333aeea9

9 years ago[Timeline] : Apply PID filtering - CPU, Heap, Process Chart. 04/38904/1
jungwook.ryu [Thu, 30 Apr 2015 07:28:21 +0000 (16:28 +0900)]
[Timeline] : Apply PID filtering - CPU, Heap, Process Chart.

Change-Id: I595975d16dad2439245f874afec0d5ed14ec3626
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years ago[UI] : Add ChartBoad interface for PID filtering 32/38832/1
jungwook.ryu [Wed, 29 Apr 2015 06:04:59 +0000 (15:04 +0900)]
[UI] : Add ChartBoad interface for PID filtering
1. show a child board item in ChartBoard
2. hide a child board item in ChartBoard
3. show all of board items in ChartBoard

Change-Id: Iebe899f115766bb3c03eae2a0b96820cb93e1444
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoTimeline : revision screenshot logic 48/38348/3
jungwook.ryu [Fri, 17 Apr 2015 08:19:08 +0000 (17:19 +0900)]
Timeline : revision screenshot logic
1. CreateImageThread multi -> single thread
2. fix bug image rendering to chart

Change-Id: I7405452e0a432ba06ef456084f8c330803ddaad6
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoCallTrace : set Call Trace table name 40/38640/1
heeyoung [Thu, 23 Apr 2015 10:17:57 +0000 (19:17 +0900)]
CallTrace : set Call Trace table name

Change-Id: I82e9e9a27f1546c1f32066638eaec81a250d3908
Signed-off-by: heeyoung <hy.hwang@samsung.com>
9 years agoINTERNAL: a bug fixed 52/38452/2
greatim [Tue, 21 Apr 2015 04:59:46 +0000 (13:59 +0900)]
INTERNAL: a bug fixed

Fix a bug that cannot stop trace when application is terminated by target

Change-Id: I4dbefba44bf7a8bababf0cd27b8272c64a366b59
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: reduce synchronized method in DataThread.java 44/38344/2
greatim [Fri, 17 Apr 2015 05:56:16 +0000 (14:56 +0900)]
INTERNAL: reduce synchronized method in DataThread.java

reduce synchorized method in DataThread.java

Change-Id: I69af5edca1c128612bd57a184b14a06b90a27419
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCOMMUNICATOR: refactor DACommunicator and Toolbar 30/38130/2
greatim [Mon, 13 Apr 2015 12:06:13 +0000 (21:06 +0900)]
COMMUNICATOR: refactor DACommunicator and Toolbar

Seperate device management from DACommunicator (make new class DeviceManager)
Refactor toolbar about updating device combo and application combo

Change-Id: I413b477fb08fa9b5a1b9f98ed948590b7fa6efb4
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoSetting : prevent character value in input box 66/38166/1
heeyoung [Tue, 14 Apr 2015 02:30:06 +0000 (11:30 +0900)]
Setting : prevent character value in input box

Change-Id: Ic5a3482456a871e9605494967e2dd7e2584bf955
Signed-off-by: heeyoung <hy.hwang@samsung.com>
9 years agoFile : bug fix about null pointer exception 51/37751/1
hyeran74.kim [Fri, 3 Apr 2015 10:10:45 +0000 (19:10 +0900)]
File : bug fix about null pointer exception

Change-Id: Ib807e747bec7fe7a8bbf5a978d37ca42a111b3e0
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoMerge changes Ic5c80657,Iaefcd816 into tizen
woojin jung [Fri, 3 Apr 2015 08:23:49 +0000 (01:23 -0700)]
Merge changes Ic5c80657,Iaefcd816 into tizen

* changes:
  CALLSTACK: refactor callstack inserter
  INTERNAL: fix a bug in memory log data

9 years agoMerge "CALLSTACK: refactoring callstack manager" into tizen
woojin jung [Fri, 3 Apr 2015 06:46:23 +0000 (23:46 -0700)]
Merge "CALLSTACK: refactoring callstack manager" into tizen

9 years agoMerge "Setting : modify usability" into tizen
woojin jung [Fri, 3 Apr 2015 02:40:45 +0000 (19:40 -0700)]
Merge "Setting : modify usability" into tizen

9 years agoSetting : modify usability 14/37414/3
heeyoung [Thu, 26 Mar 2015 06:39:13 +0000 (15:39 +0900)]
Setting : modify usability

romove focus of tooltip
modify cancel operation in option tab
change screenshot periodically minimum value

Change-Id: I4d2e265b4e6a00e28bdb66f312bd2a7b04182f1f
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "Summary : fix bug of reallocation logic" into tizen
woojin jung [Thu, 26 Mar 2015 09:07:26 +0000 (02:07 -0700)]
Merge "Summary : fix bug of reallocation logic" into tizen

9 years agoCALLSTACK: refactor callstack inserter 18/37418/2
greatim [Thu, 26 Mar 2015 07:44:54 +0000 (16:44 +0900)]
CALLSTACK: refactor callstack inserter

refactor callstack inserter
move callstack manager to project package
move project.save() to save command action
do not insert callstack unit at runtime (insert at save time)
minimize synchronized call of page data managers (causes deadlock)

Change-Id: Ic5c8065788cdf14b490e1c58ec01614c1d156b89
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix a bug in memory log data 25/37325/1
greatim [Tue, 24 Mar 2015 11:37:04 +0000 (20:37 +0900)]
INTERNAL: fix a bug in memory log data

fix a bug at memory log parsing

Change-Id: Iaefcd816f44e586199021cce254489586657a5d3
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCALLSTACK: refactoring callstack manager 00/37300/1
greatim [Tue, 24 Mar 2015 09:25:25 +0000 (18:25 +0900)]
CALLSTACK: refactoring callstack manager

seperate callstack manager for "runtime" and "range"
seperate profile data maker too. (runtime and range)

Change-Id: I925f66bee9c955514516b98f4d8d907bab55dead
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge branch 'da-opt' into tizen 38/37238/1
greatim [Mon, 23 Mar 2015 08:33:57 +0000 (17:33 +0900)]
Merge branch 'da-opt' into tizen

Change-ID: Id2d81a63efc1c2ae0235795de1894cdceab01882

9 years agoINTERNAL: refactor clear() function of each page data manager 21/37021/1
greatim [Wed, 18 Mar 2015 08:15:55 +0000 (17:15 +0900)]
INTERNAL: refactor clear() function of each page data manager

refactor clear() function of each page data manager and caller of clear()

Change-Id: I57f8cae046d7bba76c20f7712ad0842b780ed845
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: insert thread remaining data to db using inserter 84/36884/1
greatim [Mon, 16 Mar 2015 14:01:21 +0000 (23:01 +0900)]
INTERNAL: insert thread remaining data to db using inserter

insert thread remaining data to db using inserter on onThreadStop()

Change-Id: I014395f890af19ee5275a1d49337fd4182f7bca3
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: remove startTrace() and stopTrace() in toolbar 59/36759/3
greatim [Fri, 13 Mar 2015 06:23:24 +0000 (15:23 +0900)]
INTERNAL: remove startTrace() and stopTrace() in toolbar

Remove startTrace() and stopTrace() function in toolbar
Instead, use startTrace() and stopTrace() in CommandAction
change dispose() function name to close() in Project.java

Change-Id: I25bd65eb5b2739a4606bef34b9210942155329c0
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: remove DACommunicator.isRunning() usage 64/36664/3
greatim [Wed, 11 Mar 2015 12:27:23 +0000 (21:27 +0900)]
INTERNAL: remove DACommunicator.isRunning() usage

remove DACommunicator.isRunning(), replace it to DAState
refactor some function of thread data manager and thread db tables

Change-Id: I5456b3ef781931e5834a205c69495acadfbb1e7f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: make DAState class for host state management 30/36630/3
greatim [Wed, 11 Mar 2015 05:59:58 +0000 (14:59 +0900)]
INTERNAL: make DAState class for host state management

make DAState class for host state management (moved from Global.java)
remove all AnalyzerManager.isRunning() call and replace it to use DAState

Change-Id: I0323c9ad27193217fdadcefd9387e35749b2ff01
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: make sure all image thread is stopped when tracing is stopped 39/36539/3
greatim [Mon, 9 Mar 2015 16:52:04 +0000 (01:52 +0900)]
INTERNAL: make sure all image thread is stopped when tracing is stopped

make sure all image processing thread is terminated when tracing is terminated.

Change-Id: I2ee1cddacbed8c725c69bf821045f11409ff67a9
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: stop forced when DA exit 33/36533/2
greatim [Mon, 9 Mar 2015 14:52:38 +0000 (23:52 +0900)]
INTERNAL: stop forced when DA exit

stop thread by force when DA exit
change some caller code of AnalyzerManager.isExit()

Change-Id: I1c49b5174f618ed2238bab2ef7ccb6bee3d45c26
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: refactor DAResult and warning dialog 71/36371/3
greatim [Thu, 5 Mar 2015 12:25:35 +0000 (21:25 +0900)]
INTERNAL: refactor DAResult and warning dialog

refactor DAResult
add global function to show warning dialog with message or DAResult

Change-Id: I15d7fdbb5e02645311dd12cab13b1911a32b9798
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: add resource monitor timer 37/36337/3
greatim [Thu, 5 Mar 2015 09:24:41 +0000 (18:24 +0900)]
INTERNAL: add resource monitor timer

add resource monitor timer to monitor memory usage of DA
refactor UpdateViewTimer

Change-Id: Ib19fe8f2ee40bcbc5a23a0960397c347311f992e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: fix some bugs 70/36270/2
greatim [Wed, 4 Mar 2015 12:15:13 +0000 (21:15 +0900)]
INTERNAL: fix some bugs

add checking project validness at StopTraceManager
add checking thread interruption when major data thread is looping
add checking string size is zero or not when parsing log data

Change-Id: If51dd5e30faf3c167b4cf08531010179fcfe19da
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoWidget : fixed bug about the problem the combo pop-up doesn't go away in some case 66/36766/1
hyeran74.kim [Fri, 13 Mar 2015 06:48:20 +0000 (15:48 +0900)]
Widget : fixed bug about the problem the combo pop-up doesn't go away in some case

Change-Id: I9f6bbbef68dd7c6eb02b1d774fe4c3f917ed2ad1
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoINTERNAL: fix some bugs and typo (feedback of commit 9a47faf3768e4) 61/36261/2
greatim [Wed, 4 Mar 2015 08:59:53 +0000 (17:59 +0900)]
INTERNAL: fix some bugs and typo (feedback of commit 9a47faf3768e4)

feedback of commit 9a47faf3768e4
rename ToolbarArea -> Toolbar and change to enum
add some boilerplate
change some names (function, enum value, nl text, etc..)

Change-Id: I3a4ffbc2908108066a7d8d4e334efe352162a028
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoTimeline : Apply EFL Gesture event to UI Event chart 98/36498/1
jungwook.ryu [Mon, 9 Mar 2015 07:23:27 +0000 (16:23 +0900)]
Timeline : Apply EFL Gesture event to UI Event chart

Change-Id: Ide6c254bc682820758a28c8580a89bf5a2025dee
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoSummary : fix bug of reallocation logic 22/36422/1
seokgil.kang [Fri, 6 Mar 2015 08:45:14 +0000 (17:45 +0900)]
Summary : fix bug of reallocation logic

Change-Id: Icde9964e4d89536287025bd469ce286cfde3dd42
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
9 years agoNL: rename some nl variable name (setting -> configuration) 39/36239/1
greatim [Wed, 4 Mar 2015 05:50:36 +0000 (14:50 +0900)]
NL: rename some nl variable name (setting -> configuration)

rename some nl variable name (setting -> configuration)
change (prepare for profiling -> Prepareing to trace)

Change-Id: I17fc6e234de72f5dc315a0c08f40830fad2d69ea
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: refactor major thread class for unity 36/36236/1
greatim [Wed, 4 Mar 2015 05:00:07 +0000 (14:00 +0900)]
INTERNAL: refactor major thread class for unity

create DataThread class for major thread like
data channel thread, message parser, log parser, page data thread, db inserter.
use offer() function instead put() function of blocking queue.

Change-Id: Ic02b4d2368c63c5259d64b321f9ef295b354367f
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: apply synchronization to current state 65/36165/1
greatim [Tue, 3 Mar 2015 07:57:35 +0000 (16:57 +0900)]
INTERNAL: apply synchronization to current state

fix some bugs in StartTraceManager.java
rename Global.setCurrentState to Global.changeCurrentState and apply synchronization

Change-Id: Id8a338a118d6a22c928eac1aaafc60197c971d2e
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoINTERNAL: show error with progress when tracing stopped 42/36142/1
greatim [Mon, 2 Mar 2015 18:39:24 +0000 (03:39 +0900)]
INTERNAL: show error with progress when tracing stopped

show error with progress when tracing stopped

Change-Id: Ifb9b638582adfec362962a1d0a887bdaf1a0aaff
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCombo : remove focus out event 91/35991/1
heeyoung [Fri, 27 Feb 2015 08:40:25 +0000 (17:40 +0900)]
Combo : remove focus out event

Change-Id: I042d28b303226fd30be473548b87993d3ae16038
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoProgressDialog : set default button listener 19/35819/1
heeyoung [Wed, 25 Feb 2015 05:24:20 +0000 (14:24 +0900)]
ProgressDialog : set default button listener

Change-Id: I864f72fcca093100da844b602d533c7e67d4c1fc
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge branch 'tizen' into da-opt 75/35775/1
greatim [Tue, 24 Feb 2015 12:12:48 +0000 (21:12 +0900)]
Merge branch 'tizen' into da-opt

Signed-off-by: greatim <jaewon81.lim@samsung.com>
Conflicts:
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/common/AnalyzerManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/communicator/CommunicatorUtils.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/database/DBInserter.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/nl/AnalyzerLabels.properties
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/communicator/Communicator30.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/LogParser.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/LogQueue.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/MessageParser.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/logparser/PageDataManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/swap/platform/ui/BinarySettingProgressManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StartProcessManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StopLogProcessor.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/StopProcessManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/ToolbarArea.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/OpenTraceInputReader.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/opentrace/OpenTraceProgressManager.java
org.tizen.dynamicanalyzer/src/org/tizen/dynamicanalyzer/ui/toolbar/setting/SettingDialog.java

Change-Id: Ia2b424c745bc47c723408c69a5fa35192952b6b8

9 years agoINTERNAL: refactor host state management and trace start/stop management 77/34677/2
greatim [Fri, 30 Jan 2015 10:55:37 +0000 (19:55 +0900)]
INTERNAL: refactor host state management and trace start/stop management

refactor host state management
refactor trace start / stop management
refactor some lod data models
refactor AnalyzerManager, DAResult, etc.
remove unnecessary files

Change-Id: Ieda51365c24c5a97b3df6716303a3a7cd99d08f8
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "Page Tab : add a null check" into tizen
woojin jung [Mon, 16 Feb 2015 01:14:08 +0000 (17:14 -0800)]
Merge "Page Tab : add a null check" into tizen

9 years agoMISC update the -Xmx size to 512MB
JuYoung Kim [Fri, 13 Feb 2015 03:10:17 +0000 (12:10 +0900)]
MISC update the -Xmx size to 512MB

Change-Id: I76640aad5324896efa565e4c1ec6772678efa2c2
Signed-off-by: JuYoung Kim <j0.kim@samsung.com>
9 years agoPage Tab : add a null check 87/35387/1
heeyoung [Fri, 13 Feb 2015 02:18:11 +0000 (11:18 +0900)]
Page Tab : add a null check

Change-Id: I5be61ee00a2db3e06fd0590452039b89a7ff1db5
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoPage Tab : Add the page tab view when Open button is clicked in OpenTrace dialog 49/35249/2
heeyoung [Wed, 11 Feb 2015 07:57:01 +0000 (16:57 +0900)]
Page Tab : Add the page tab view when Open button is clicked in OpenTrace dialog

Change-Id: Ic9b52be990429e8ec0a7eecc42500901dbab80b8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoINTERNEL: fix some potential bugs 29/35229/1
greatim [Wed, 11 Feb 2015 03:29:05 +0000 (12:29 +0900)]
INTERNEL: fix some potential bugs

fix some potential bugs including (dereference null return)

Change-Id: I4d62dbe8e96ec161385886f830014d83fc9982e1
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoCALLSTACK, FUNCTION PROFILING : remove potential bugs 12/35212/1
woojin [Tue, 10 Feb 2015 15:06:02 +0000 (00:06 +0900)]
CALLSTACK, FUNCTION PROFILING : remove potential bugs

1. safer usage of locks
2. remove potential NullPointerException
3. remove dead code

Change-Id: Icb8dd27c9038d00f100a6142ccefbf5ded47d888
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoINTERNAL: fix some potential bugs 98/35198/1
greatim [Tue, 10 Feb 2015 11:58:07 +0000 (20:58 +0900)]
INTERNAL: fix some potential bugs

fix some potential bugs including double-checked locking bug

Change-Id: Iead801b8d4410d5d045e7f5870df2dd267ffaec5
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "Fix potential bugs." into tizen
woojin jung [Tue, 10 Feb 2015 09:12:47 +0000 (01:12 -0800)]
Merge "Fix potential bugs." into tizen

9 years agoMerge "File : deal with null pointer exception" into tizen
woojin jung [Tue, 10 Feb 2015 09:05:04 +0000 (01:05 -0800)]
Merge "File : deal with null pointer exception" into tizen

9 years agoFix potential bugs. 87/35187/1
jungwook.ryu [Tue, 10 Feb 2015 08:57:24 +0000 (17:57 +0900)]
Fix potential bugs.

Change-Id: I1e4b60c8055b2ff706bec23841db8b1572870474
Signed-off-by: jungwook.ryu <jungwook.ryu@samsung.com>
9 years agoFile : deal with null pointer exception 85/35185/1
hyeran74.kim [Tue, 10 Feb 2015 08:30:22 +0000 (17:30 +0900)]
File : deal with null pointer exception

Change-Id: I5bb06a3a33d3bc629b619744bf47be270ce6d231
Signed-off-by: hyeran74.kim <hyeran74.kim@samsung.com>
9 years agoSetting : modify input range of function sampling rate 63/35163/1
heeyoung [Tue, 10 Feb 2015 05:23:11 +0000 (14:23 +0900)]
Setting : modify input range of function sampling rate

Change-Id: I1453861caff150a32587c5d935f2897edf287e2d

9 years agoDB: fix a potential bug of database connection management 46/35046/1
greatim [Fri, 6 Feb 2015 11:22:08 +0000 (20:22 +0900)]
DB: fix a potential bug of database connection management

fix a potential bug of database connection management (list sync problem)

Change-Id: I118e3cdfbe7b0f720db1dc4874d287282f128f93
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoBUILD : update changelog 30/35030/1
woojin [Fri, 6 Feb 2015 08:34:12 +0000 (17:34 +0900)]
BUILD : update changelog

update changelog, pkg version

Change-Id: Idd6c7d63cdc0e6883e7acb6e8b020f541c1ad7f8
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoINTERNAL: fix a bug that cannot insert whole data at stress test 07/34907/1
greatim [Wed, 4 Feb 2015 09:09:08 +0000 (18:09 +0900)]
INTERNAL: fix a bug that cannot insert whole data at stress test

fix a bug that page data manager thread is terminated before whole data inserted.

Change-Id: I20e850ebcc5c4cac8c80e3f31ee406d03b681d86
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoChart : change setOutlineColors() method parameter 39/34739/1
heeyoung [Mon, 2 Feb 2015 08:10:09 +0000 (17:10 +0900)]
Chart : change setOutlineColors() method parameter

Change-Id: I3cf84ec3f08d16cede256b69124dfefeec2cf5aa
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoLOG : improve Logger 14/34614/1
seokgil.kang [Thu, 29 Jan 2015 11:50:11 +0000 (20:50 +0900)]
LOG : improve Logger
1. move the log-level setting  to the setting file of DA
2. add exception() method and replace e.printStackTrace() to the Logger.exception(e)
3. move the part that writes the contents of the log to the file to Logger class

Change-Id: Id65dc7924172b7f70ef8007ae0d2de1551f8eab3
Signed-off-by: seokgil.kang <seokgil.kang@samsung.com>
9 years agoSetting : set settingDialog state (open/close) 18/34418/1
heeyoung [Tue, 27 Jan 2015 05:46:53 +0000 (14:46 +0900)]
Setting : set settingDialog state (open/close)

Change-Id: Ia498464e2b056e808835239c37af8580f9bbf7f8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agodo not review 49/34349/1
greatim [Sat, 24 Jan 2015 06:59:33 +0000 (15:59 +0900)]
do not review

Change-Id: I6e9d0fdfcc5e691514c6d3eb4ecf9d31a4f68c3a
Signed-off-by: greatim <jaewon81.lim@samsung.com>
9 years agoMerge "ProgressDialog : modify button listener setter method" into tizen
juyoung kim [Fri, 23 Jan 2015 04:07:58 +0000 (20:07 -0800)]
Merge "ProgressDialog : modify button listener setter method" into tizen

9 years agoMerge "CALLTRACE : fix bug - sometimes calltrace shows nothing" into tizen
juyoung kim [Fri, 23 Jan 2015 01:30:17 +0000 (17:30 -0800)]
Merge "CALLTRACE : fix bug - sometimes calltrace shows nothing" into tizen

9 years agoCALLTRACE : fix bug - sometimes calltrace shows nothing 60/34260/1
woojin [Thu, 22 Jan 2015 11:15:11 +0000 (20:15 +0900)]
CALLTRACE : fix bug - sometimes calltrace shows nothing

modify windowing table
1. if the number of selected records is not the same with that of requested records, select again
2. when table is full of records, do not select again even if item count is increased

Change-Id: I62f3cc871b9cff7d309619e2cc1940acc2310565
Signed-off-by: woojin <woojin2.jung@samsung.com>
9 years agoProgressDialog : modify button listener setter method 44/34244/1
heeyoung [Thu, 22 Jan 2015 09:44:51 +0000 (18:44 +0900)]
ProgressDialog : modify button listener setter method

Change-Id: I2d74d4010dd77ca63ffc867ccf04d37a01376619
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoSetting : add unit test about setting data 15/34115/1
heeyoung [Wed, 21 Jan 2015 09:20:10 +0000 (18:20 +0900)]
Setting : add unit test about setting data

Change-Id: I08ddc8a26d4ab4d23e0aa3be62144d034741b8e8
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>
9 years agoMerge "ProgressDialog : modify progress text setter method" into tizen
juyoung kim [Wed, 21 Jan 2015 08:27:03 +0000 (00:27 -0800)]
Merge "ProgressDialog : modify progress text setter method" into tizen

9 years agoProgressDialog : modify progress text setter method 02/34102/1
heeyoung [Wed, 21 Jan 2015 07:12:24 +0000 (16:12 +0900)]
ProgressDialog : modify progress text setter method

Change-Id: I2ddbe4dba2b5b6e8f1371f6c0e2b08a7bc81fef6
Signed-off-by: heeyoung <heeyoung1008.hwang@samsung.com>