Skip to content
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

New Release v0.16 #1921

Merged
merged 1 commit into from
Apr 25, 2024
Merged

New Release v0.16 #1921

merged 1 commit into from
Apr 25, 2024

Conversation

namhyung
Copy link
Owner

@namhyung namhyung commented Apr 20, 2024

I'm preparing a new release with the following changes:

  • separate debug file support
  • add a new 'o' format for octal values
  • add {total,self}-stdv field to uftrace report
  • improve Python tracing by not bothering GC
  • and a lot of bug fixes

Please check out the code and test it on various platforms!

This is a small release with:

 * separate debug file support
 * add a new 'o' format for octal values
 * add {total,self}-stdv fields to report
 * improve tracing large Python programs
 * and a lot of bug fixes

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
@gichoel
Copy link
Contributor

gichoel commented Apr 22, 2024

First, the environment I tested is as follows.

$ uname -a
Linux starfive 5.15.0-starfive #1 SMP Fri Nov 24 07:22:28 UTC 2023 riscv64 GNU/Linux

I ran the make test -j$(nproc) command on a VisionFive2 board with a RISC-V architecture and got three results as shown below.

Running 104 test cases
======================
[001] unittest_framework            : PASS
[002] argspec_auto_args             : PASS
[003] argspec_extract               : PASS
[004] argspec_parse_enum            : PASS

......

[064] mcount_estimate_return_depth  : PASS
[065] mcount_list_event             : PASS
WARN: failed to open 'cycles' perf event: Invalid argument
[066] mcount_pmu_event              : SKIP
[067] mcount_setup                  : PASS
[068] mcount_signal_setup           : PASS

......

[103] utils_parse_timestamp         : PASS
[104] utils_strv                    : PASS

unit test stats
====================
103 ran successfully
  0 failed
  1 skipped
  0 signal caught
  0 unknown result
$ cat test_result.txt | grep -E "NG|NZ|SG|TM|BI|LA|SK"

022 filter_kernel       : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
052 nested_func         : NG OK OK OK OK NG OK OK OK OK  SK SK SK SK SK SK SK SK SK SK
058 arg_int             : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
059 arg_str             : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
060 arg_fmt             : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
062 arg_char            : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
063 retval              : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
065 arg_order           : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
075 lib_arg             : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
079 replay_kernel_D     : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
080 replay_kernel_D2    : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
081 kernel_depth        : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
082 arg_many            : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
083 arg_float           : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
084 arg_mixed           : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
085 arg_reg             : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
086 arg_stack           : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
087 arg_variadic        : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
103 dump_kernel         : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
104 graph_kernel        : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
109 replay_time_A       : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
111 kernel_tid          : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
124 exception           : OK NG NG NG NG OK OK OK OK OK  OK OK OK OK OK NG NG NG NG NG
126 arg_regex           : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
127 arg_module          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
128 arg_module2         : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
132 trigger_kernel      : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
133 long_string         : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
136 dynamic             : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
137 kernel_tid_update   : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
138 kernel_dynamic      : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
139 kernel_dynamic2     : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
140 dynamic_xray        : BI BI BI BI BI BI BI BI BI BI  BI BI BI BI BI BI BI BI BI BI
143 recv_kernel         : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
146 arg_std_string      : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
147 event_sdt           : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
148 event_kernel        : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
149 event_kernel2       : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
150 recv_event          : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
163 event_sched         : OK OK OK OK OK OK OK OK OK OK  OK OK OK OK OK NG OK OK OK OK
164 report_sched        : OK OK OK OK OK OK OK OK OK OK  OK OK OK OK OK OK OK NG OK OK
165 graph_sched         : NG OK OK OK OK OK OK OK NG OK  OK OK OK OK NG OK OK OK OK OK
168 lib_nested          : NG NG NG NG NG NG NG NG NG NG  OK OK OK OK OK OK OK OK OK OK
173 trigger_args        : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
174 replay_filter_kernel: SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
185 exception2          : NG NG NG NG NG OK OK OK OK OK  NG NG NG NG NG NG NG NG NG NG
186 exception3          : NG NG NG NG NG OK OK OK OK OK  NG NG NG NG NG NG NG NG NG NG
192 lib_name            : NG NG NG NG NG NG NG NG NG NG  OK OK OK OK OK OK OK OK OK OK
193 read_pmu_cycle      : NG NG NG NG NG NG NG NG NG NG  NG NG NG NG NG NG NG NG NG NG
194 read_pmu_cache      : NG NG NG NG NG NG NG NG NG NG  NG NG NG NG NG NG NG NG NG NG
195 read_pmu_branch     : NG NG NG NG NG NG NG NG NG NG  NG NG NG NG NG NG NG NG NG NG
196 chrome_taskname     : OK OK OK OK OK OK NG OK NG OK  OK OK OK OK OK OK OK OK OK OK
198 lib_arg_float       : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
201 arg_dwarf1          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
202 arg_dwarf2          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
203 arg_dwarf3          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
204 arg_dwarf4          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
205 arg_auto4           : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
206 arg_enum2           : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
213 arg_symbol          : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
223 dynamic_full        : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
224 dynamic_lib         : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
225 dynamic_size        : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
227 read_pmu_cycle2     : NG NG NG NG NG NG NG NG NG NG  NG NG NG NG NG NG NG NG NG NG
228 read_pmu_cycle3     : NG NG NG NG NG NG NG NG NG NG  NG NG NG NG NG NG NG NG NG NG
231 arg_bound           : NG NG NG NG NG SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
232 dynamic_unpatch     : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
233 dynamic_unpatch2    : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
234 script_luajit       : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
248 dynamic_dlopen      : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
251 exception4          : NG OK OK OK OK SG SG SG SG SG  OK OK OK OK OK SG SG SG SG SG
254 arg_dwarf5          : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
255 arg_dwarf6          : OK OK OK OK OK SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
256 arg_dwarf7          : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
257 arg_struct_replay   : NG OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
258 arg_struct_dump     : NG OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
259 arg_struct_script   : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
260 arg_struct_luajit   : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
263 patchable_dynamic   : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
264 patchable_dynamic2  : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
265 patchable_dynamic3  : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
266 patchable_dynamic4  : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
267 patchable_dynamic5  : SK SK SK SK SK SK SK SK SK SK  SK SK SK SK SK SK SK SK SK SK
269 arg_no_args_replay  : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
270 arg_no_args_dump    : OK OK OK OK OK SK SK SK SK SK  OK OK OK OK OK SK SK SK SK SK
287 arg_enum3           : NG NG NG NG NG SK SK SK SK SK  NG NG NG NG NG SK SK SK SK SK
289 exception5          : OK OK OK OK OK NG NG NG NG NG  OK OK OK OK OK NG NG NG NG NG


runtime test stats
====================
total  5780  Tests executed (success: 75.59%)
  OK:  4285  Test succeeded
  OK:    84  Test succeeded (with some fixup)
  NG:   361  Different test result
  NZ:     0  Non-zero return value
  SG:    10  Abnormal exit by signal
  TM:     0  Test ran too long
  BI:    20  Build failed
  LA:     0  Unsupported Language
  SK:  1020  Skipped
Python test case          Result
--------------------------------
001 basic               : OK
002 filter_F            : OK

......

011 libcall_nested      : OK
012 os_exit             : OK


runtime test stats
====================
total    12  Tests executed (success: 100.00%)
  OK:    12  Test succeeded
  OK:     0  Test succeeded (with some fixup)
  NG:     0  Different test result
  NZ:     0  Non-zero return value
  SG:     0  Abnormal exit by signal
  TM:     0  Test ran too long
  BI:     0  Build failed
  LA:     0  Unsupported Language
  SK:     0  Skipped

@honggyukim
Copy link
Collaborator

I've just verified the current v0.16 candidate doesn't break android build.

@namhyung namhyung merged commit 68aed9b into master Apr 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants