-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test trivial fix #132
Merged
Merged
Test trivial fix #132
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
__FILE__ is mistakenly typed as __FILE in unittest.h. This commit fixes it. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Fixes: 97085be ("test: Show failing file:line in the unit test")
File name:line number information is very useful for debugging of test failure . However, TEST_STREQ() and TEST_MEMEQ() doesn't provide the information though it receives the information from caller. This commit fixes the macro functions to show the information when test fails. Signed-off-by: SeongJae Park <sj38.park@gmail.com> Fixes: 97085be ("test: Show failing file:line in the unit test") Signed-off-by: SeongJae Park <sj38.park@gmail.com>
Thanks for your kind word. The patches look good to me. |
honggyukim
added a commit
to honggyukim/uftrace
that referenced
this pull request
Nov 25, 2019
This implements full dynamic tracing for ARM. The current status is that it can record uftrace itself, but only for unoptimized binary. The following patterns must be handled to support optimized binary. 00034110 <start_pager>: 34110: e59f3084 ldr r3, [pc, namhyung#132] ; 3419c <start_pager+0x8c> 34114: e92d4010 push {r4, lr} 34118: e1a0e000 mov lr, r0 3411c: e893000f ldm r3, {r0, r1, r2, r3} 00038280 <setup_field>: 38280: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr} 38284: e3a0c000 mov ip, #0 38288: e5914034 ldr r4, [r1, namhyung#52] ; 0x34 3828c: e24dd01c sub sp, sp, namhyung#28 000482b4 <find_symtabs>: 482b4: e1a0c000 mov ip, r0 482b8: e1c001d0 ldrd r0, [r0, #16] 482bc: e92d4ff8 push {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} 482c0: e1510003 cmp r1, r3 THUMB code is not handled yet! Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
honggyukim
added a commit
to honggyukim/uftrace
that referenced
this pull request
Nov 26, 2019
This implements full dynamic tracing for ARM. The current status is that it can record uftrace itself, but only for unoptimized binary. The following patterns must be handled to support optimized binary. 00034110 <start_pager>: 34110: e59f3084 ldr r3, [pc, namhyung#132] ; 3419c <start_pager+0x8c> 34114: e92d4010 push {r4, lr} 34118: e1a0e000 mov lr, r0 3411c: e893000f ldm r3, {r0, r1, r2, r3} 00038280 <setup_field>: 38280: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr} 38284: e3a0c000 mov ip, #0 38288: e5914034 ldr r4, [r1, namhyung#52] ; 0x34 3828c: e24dd01c sub sp, sp, namhyung#28 000482b4 <find_symtabs>: 482b4: e1a0c000 mov ip, r0 482b8: e1c001d0 ldrd r0, [r0, #16] 482bc: e92d4ff8 push {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} 482c0: e1510003 cmp r1, r3 THUMB code is not handled yet! Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
honggyukim
added a commit
to honggyukim/uftrace
that referenced
this pull request
Dec 13, 2019
This implements full dynamic tracing for ARM. The current status is that it can record uftrace itself, but only for unoptimized binary. The following patterns must be handled to support optimized binary. 00034110 <start_pager>: 34110: e59f3084 ldr r3, [pc, namhyung#132] ; 3419c <start_pager+0x8c> 34114: e92d4010 push {r4, lr} 34118: e1a0e000 mov lr, r0 3411c: e893000f ldm r3, {r0, r1, r2, r3} 00038280 <setup_field>: 38280: e92d4ff0 push {r4, r5, r6, r7, r8, r9, sl, fp, lr} 38284: e3a0c000 mov ip, #0 38288: e5914034 ldr r4, [r1, namhyung#52] ; 0x34 3828c: e24dd01c sub sp, sp, namhyung#28 000482b4 <find_symtabs>: 482b4: e1a0c000 mov ip, r0 482b8: e1c001d0 ldrd r0, [r0, #16] 482bc: e92d4ff8 push {r3, r4, r5, r6, r7, r8, r9, sl, fp, lr} 482c0: e1510003 cmp r1, r3 THUMB code is not handled yet! Signed-off-by: Honggyu Kim <honggyu.kp@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi Namhyung,
I attended to your uftrace seminar today and got impressed so much. During the time, I found two trivial nitpicks by coincidence. So, here's the patches.
Thanks,
SeongJae Park