Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(7716)

Issue 283860043: i#140 client profiling: add WHERE_CLEAN_CALLEE

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 4 months ago by Byron
Modified:
8 years, 3 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Adds a new where_am_i_t WHERE_CLEAN_CALLEE which is set and cleared by the clean call instrumentation. Adds several tests for profiling with clients. ---------------

Patch Set 1 #

Patch Set 2 : wrap overlength line #

Total comments: 21

Patch Set 3 : revision #

Total comments: 3

Patch Set 4 : Corrections for ARM and native_exec #

Patch Set 5 : Correction for clean calls that return to native. #

Total comments: 2

Patch Set 6 : Add meta_call_flags_t #

Total comments: 12

Patch Set 7 : remove API change, use save_flags instead #

Patch Set 8 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -28 lines) Patch
M core/arch/arch.h View 1 2 3 4 5 6 2 chunks +9 lines, -1 line 0 comments Download
M core/arch/interp.c View 1 2 3 4 5 6 1 chunk +5 lines, -5 lines 0 comments Download
M core/arch/mangle_shared.c View 1 2 3 4 5 6 2 chunks +48 lines, -4 lines 0 comments Download
M core/globals.h View 3 chunks +3 lines, -1 line 0 comments Download
M core/lib/instrument.h View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M core/lib/instrument.c View 1 2 3 4 5 6 6 chunks +10 lines, -8 lines 0 comments Download
M core/unix/pcprofile.c View 1 chunk +2 lines, -0 lines 0 comments Download
M suite/tests/CMakeLists.txt View 1 2 3 4 chunks +34 lines, -6 lines 0 comments Download
M suite/tests/common/protect-dstack.c View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 22
Byron
8 years, 4 months ago (2015-12-18 01:25:36 UTC) #1
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Adds a new where_am_i_t ...
8 years, 4 months ago (2015-12-18 01:28:24 UTC) #2
Byron
https://codereview.appspot.com/283860043/diff/20001/core/arch/arch.h File core/arch/arch.h (right): https://codereview.appspot.com/283860043/diff/20001/core/arch/arch.h#newcode168 core/arch/arch.h:168: #define WHEREAMI_PROT_OFFSET ((PROT_OFFS)+offsetof(dcontext_t, whereami)) I'm not sure how to ...
8 years, 4 months ago (2015-12-18 01:33:52 UTC) #3
bruening
The two offsets should be collapsible into one. The commit msg should point out this ...
8 years, 4 months ago (2015-12-18 18:36:11 UTC) #4
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Adds a new where_am_i_t ...
8 years, 4 months ago (2015-12-18 21:54:50 UTC) #5
Byron
https://codereview.appspot.com/283860043/diff/20001/core/arch/arch.h File core/arch/arch.h (right): https://codereview.appspot.com/283860043/diff/20001/core/arch/arch.h#newcode80 core/arch/arch.h:80: * (see the instr_shared.c routines for dcontext instr building) ...
8 years, 4 months ago (2015-12-18 21:55:17 UTC) #6
Byron
https://codereview.appspot.com/283860043/diff/40001/core/arch/mangle_shared.c File core/arch/mangle_shared.c (right): https://codereview.appspot.com/283860043/diff/40001/core/arch/mangle_shared.c#newcode317 core/arch/mangle_shared.c:317: #endif Accidentally deleted a blank line here. Corrected in ...
8 years, 4 months ago (2015-12-18 21:58:31 UTC) #7
bruening
LGTM https://codereview.appspot.com/283860043/diff/20001/suite/tests/CMakeLists.txt File suite/tests/CMakeLists.txt (right): https://codereview.appspot.com/283860043/diff/20001/suite/tests/CMakeLists.txt#newcode2164 suite/tests/CMakeLists.txt:2164: endif (NOT X64) On 2015/12/18 21:55:17, Byron wrote: ...
8 years, 4 months ago (2015-12-19 05:22:05 UTC) #8
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Adds a new where_am_i_t ...
8 years, 4 months ago (2015-12-20 18:25:30 UTC) #9
Byron
With the current patch set (#4), this assert is now failing in all the tests ...
8 years, 4 months ago (2015-12-20 19:32:02 UTC) #10
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Adds a new where_am_i_t ...
8 years, 3 months ago (2016-01-09 01:15:38 UTC) #11
Byron
Fixing an issue that occurs in the new long suite tests that combine "-prof_pcs" with ...
8 years, 3 months ago (2016-01-09 01:22:02 UTC) #12
bruening
LGTM https://codereview.appspot.com/283860043/diff/80001/core/arch/mangle_shared.c File core/arch/mangle_shared.c (right): https://codereview.appspot.com/283860043/diff/80001/core/arch/mangle_shared.c#newcode406 core/arch/mangle_shared.c:406: if (callee == return_to_native || callee == call_to_native) ...
8 years, 3 months ago (2016-01-11 21:43:22 UTC) #13
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Add a new where_am_i_t ...
8 years, 3 months ago (2016-01-14 23:15:45 UTC) #14
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Add a new where_am_i_t ...
8 years, 3 months ago (2016-01-14 23:17:58 UTC) #15
Byron
Several questions about adding flags for insert_meta_call: https://codereview.appspot.com/283860043/diff/120001/core/arch/arch.h File core/arch/arch.h (right): https://codereview.appspot.com/283860043/diff/120001/core/arch/arch.h#newcode352 core/arch/arch.h:352: META_CALL_CLEAN_CALL = ...
8 years, 3 months ago (2016-01-14 23:24:33 UTC) #16
bruening
See final comment -- this CL is changing the public API. Plus, we already have ...
8 years, 3 months ago (2016-01-15 15:38:50 UTC) #17
Byron
Commit log for latest patchset: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Add a new where_am_i_t ...
8 years, 3 months ago (2016-01-15 23:46:55 UTC) #18
Byron
https://codereview.appspot.com/283860043/diff/120001/core/arch/arch.h File core/arch/arch.h (right): https://codereview.appspot.com/283860043/diff/120001/core/arch/arch.h#newcode352 core/arch/arch.h:352: META_CALL_CLEAN_CALL = 1, On 2016/01/15 15:38:50, bruening wrote: > ...
8 years, 3 months ago (2016-01-15 23:47:19 UTC) #19
bruening
LGTM
8 years, 3 months ago (2016-01-16 03:10:50 UTC) #20
Byron
Committed as https://github.com/DynamoRIO/dynamorio/commit/6036c948e027b2f5665eb2295f45459a8655a3f2 Final commit log: --------------- i#140 client profiling: add WHERE_CLEAN_CALLEE Add a new ...
8 years, 3 months ago (2016-01-16 03:27:04 UTC) #21
Byron
8 years, 3 months ago (2016-01-16 03:58:44 UTC) #22
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b