hp.com!davidm
3ff119aa1d
(put_unwind_info): New function.
...
(resume): Likewise.
(nop): Remove.
(main): Don't cast function pointer to different prototypes. That's apparently
not allowed. icc v8.0 complains about it and GCC 3.5 will actually
generate crashing code when this is done. Talk about terminated with
extreme prejudice!
(Logical change 1.213)
2004-04-23 00:12:51 +00:00
hp.com!davidm
d0de283084
(check_static_to_scratch): Remove extraneous printf-argument found by icc v8.0.
...
(Logical change 1.213)
2004-04-23 00:12:51 +00:00
hp.com!davidm
c9a01bf094
(MAX_FUNC_SIZE): New macro.
...
(main): Use MAX_FUNC_SIZE instead of open-coding 256 bytes.
(Logical change 1.210)
2004-04-21 23:46:17 +00:00
mostang.com!davidm
f20b7f838a
Regenerate.
...
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
3e718ea004
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
35c9f15ab7
Initial revision
2004-04-21 07:24:35 +00:00
mostang.com!davidm
a4bd80c748
(print_names): New global.
...
(do_backtrace): Call unw_get_proc_name() only if print_names is TRUE.
(main): Support command-line option -c to turn on caching of
unwind-info and -n to turn off the printing (and lookup)
of symbol names.
Stop execution if child dies with a signal.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
mostang.com!davidm
6cb58ac940
(check_SCRIPTS_cdep): Mention run-ptrace-mapper.
...
(noinst_PROGRAMS_cdep): Mention mapper.
(Logical change 1.209)
2004-04-21 07:24:35 +00:00
hp.com!davidm
a9217ee2df
Auto merged
...
2004/04/20 09:53:04-07:00 hp.com!davidm
Regenerate.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
hp.com!davidm
deb3c645a4
Auto merged
...
2004/04/20 09:53:04-07:00 hp.com!davidm
(forker_LDFLAGS): Mention -all-static.
(Logical change 1.205)
2004-04-20 16:53:44 +00:00
mostang.com!davidm
b9c2ed48de
Regenerate.
...
(Logical change 1.204)
2004-04-01 08:11:21 +00:00
mostang.com!davidm
4471c1e8c3
(Logical change 1.204)
2004-04-01 08:11:21 +00:00
mostang.com!davidm
4cda328838
Initial revision
2004-04-01 08:11:21 +00:00
mostang.com!davidm
5de8024488
(check_PROGRAMS_cdep): Mention test-async-sig.
...
(test_async_sig_LDADD): New macro.
(Logical change 1.204)
2004-04-01 08:11:21 +00:00
mostang.com!davidm
471e4e5fa6
Minor whitespace fixes.
...
(Logical change 1.202)
2004-04-01 06:27:06 +00:00
mostang.com!davidm
50c2be0ca3
Undo some temporary testing hacks.
...
(Logical change 1.198)
2004-03-31 07:29:27 +00:00
mostang.com!davidm
201f7d6671
Regenerate.
...
(Logical change 1.197)
2004-03-31 01:53:04 +00:00
mostang.com!davidm
e3eae74698
(gettime): Go back to gettimeofday(). clock_gettime() requires
...
librt which requires libpthread, which slows everything
down.
(Logical change 1.197)
2004-03-31 01:53:04 +00:00
mostang.com!davidm
69052ef3ea
(Lperf_simple_LDADD): Delete.
...
(Gperf_simple_LDADD): Likewise.
(Logical change 1.197)
2004-03-31 01:53:04 +00:00
hp.com!davidm
3be31f5dcb
Include <unistd.h> and <sys/resource.h>.
...
(KB): New macro.
(big): Lower the size to 64*MB. Should be enough for another year... ;-)
(gettime): Fix typo and lower the assumed cache-line size from 64
to 8 bytes just to be safe across platforms.
(measure_init): Lower N from 1000 to 100.
(cursor): Add some padding between each unw_cursor_t to avoid
benefitting from cache-line sharing.
(uc): Likewise.
Warm up the TLB before measuring the cold-cache cases.
(main): Unlimit the max. stack-size just in case.
Write to "big" to ensure it's backed by real memory
(not just by the zero page).
(Logical change 1.194)
2004-03-30 22:57:06 +00:00
mostang.com!davidm
fc7b49b983
(measure_init): Improve it so that we don't measure noise, such
...
as context-switches.
(Logical change 1.191)
2004-03-28 00:24:33 +00:00
mostang.com!davidm
96c6250626
Include <memory.h>.
...
(MB): New macro.
(big): New array.
(measure_unwind): Don't try to measure "init" step---it's too fast.
(f1): Likewise.
(doit): Likewise.
(sum): New function.
(measure_init): Measure unw_getcontext() and unw_local_init() here.
(main): Call measure_init(), adjust labels for doit() calls.
(Logical change 1.190)
2004-03-27 09:25:58 +00:00
hp.com!davidm
e8be590f3d
Regenerate.
...
(Logical change 1.187)
2004-03-20 09:57:46 +00:00
mostang.com!davidm
c7fdc72fd6
Make number of iterations controllable via the second command-line
...
argument.
(gettime): Use clock_gettime() instead of gettimeofday() to get
(potentially) better resolution.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
mostang.com!davidm
8e8fe50029
(Lperf_simple_LDADD): Mention -lrt.
...
(Gperf_simple_LDADD): Likewise.
(Logical change 1.186)
2004-03-20 09:54:28 +00:00
hp.com!davidm
5071803e5d
(save_static_to_mem2): New function.
...
(save_static_to_mem3): Likewise.
(save_static_to_mem4): Likewise.
(save_static_to_mem5): Likewise.
(save_static_to_scratch): Save f4 to f6 to improve test coverage.
(Logical change 1.185)
2004-03-20 06:27:55 +00:00
hp.com!davidm
61d42ccf66
(check_static_to_memN): New function.
...
(check_static_to_mem2): Likewise.
(check_static_to_mem3): Likewise.
(check_static_to_mem4): Likewise.
(check_static_to_mem5): Likewise.
(Logical change 1.185)
2004-03-20 06:27:55 +00:00
mostang.com!davidm
18d33f37d5
(check_rotate_regs): Return adjust "vals"; add a printf() in verbose
...
mode.
(Logical change 1.184)
2004-03-19 08:18:44 +00:00
mostang.com!davidm
96d2898321
(CALL_NEXT_PTR): Like CALL_NEXT(), except that the two argument
...
registers are passed via macro args.
(CALL_NEXT): Define in terms of CALL_NEXT_PTR().
(rotate_regs): Fix it so it doesn't overwrite any local registers
once they are rotated. Note: it's OK to write the output
registers, since those are outside of the rotating partition.
(Logical change 1.184)
2004-03-19 08:18:44 +00:00
hp.com!davidm
77a27f0baf
Update with rotation-test.
...
(Logical change 1.183)
2004-03-19 02:38:39 +00:00
hp.com!davidm
94b71a1cd8
(LOAD_VAL): Use p15 instead of p6 so we don't step on save_static_to_scratch().
...
(flushrs): New function.
(rotate_regs): Likewise.
(Logical change 1.183)
2004-03-19 02:38:39 +00:00
mostang.com!davidm
23dd2c4c4a
Update.
...
(Logical change 1.181)
2004-02-27 08:54:25 +00:00
hp.com!davidm
ad73ee3a77
Add include of <errno.h>, <string.h>, and <asm/rse.h>.
...
(save_static_to_scratch): New declaration.
(sighandler): New function.
(check_static_to_scratch): Likewise.
(enable_sighandler): Likewise.
(disable_sighandler): Likewise.
(check-static_to_stacked): Fix missing newline in error message.
(start_checks): Call disable_sighandler().
Fix missing newline error messages.
(run_check): Call enable_sighandler() right before starting the checks.
(main): Fix missing newline in message.
(Logical change 1.179)
2004-02-27 00:59:41 +00:00
hp.com!davidm
1f3439fc5d
(save_static_to_scratch): New routine.
...
(Logical change 1.179)
2004-02-27 00:59:41 +00:00
mostang.com!davidm
a2a1325c9f
Fix copyright year and update file-comment.
...
(save_static_to_fr): Rename from save_static_to_fpreg().
(check_static_to_fr): Rename from check_static_to_fpreg().
(save_static_to_br): Declare.
(check_static_to_br): New function.
(save_static_to_mem): Declare.
(check_static_to_mem): New function.
(all_funcs): Mention new save/checks.
(Logical change 1.175)
2004-02-19 08:05:27 +00:00
mostang.com!davidm
a5ed5ae3b7
(LOAD_VAL): New macro.
...
(save_static_to_stacked): Use LOAD_VAL.
(save_static_to_fr): Rename from save_static_to_fpreg().
(save_static_to_br): New function.
(save_static_to_mem): Likewise.
(Logical change 1.175)
2004-02-19 08:05:27 +00:00
hp.com!davidm
330d2b5129
(all_funcs): Mention static_to_fpreg test & check.
...
(check_static_to_fpreg): New function.
(run_check): In verbose mode, print the run number.
(Logical change 1.171)
2004-02-19 01:32:27 +00:00
hp.com!davidm
c5b3064c05
(CALL_NEXT): New macro.
...
(save_static_to_fpreg): New function.
(Logical change 1.171)
2004-02-19 01:32:27 +00:00
hp.com!davidm
907bac3434
Regenerate.
...
(Logical change 1.170)
2004-02-19 01:30:13 +00:00
mostang.com!davidm
05a9101485
(Logical change 1.168)
2004-02-14 07:53:31 +00:00
mostang.com!davidm
a49786f031
Initial revision
2004-02-14 07:53:31 +00:00
mostang.com!davidm
66482c4494
Add copyright message.
...
(Logical change 1.168)
2004-02-14 07:53:31 +00:00
mostang.com!davidm
899323c996
(check_PROGRAMS_arch): Mention Gia64-test-nat and Lia64-test-nat.
...
(Lia64_test_nat_SOURCES): New macro.
(Gia64_test_nat_SOURCES): Likewise.
(Logical change 1.168)
2004-02-14 07:53:31 +00:00
hp.com!davidm
7cc016a29a
(test_generic): Clean it up so it compiles cleanly and works for
...
REMOTE_ONLY case.
(Logical change 1.158)
2004-01-22 08:36:15 +00:00
mostang.com!davidm
bc0f731593
Regenerate.
...
(Logical change 1.157)
2004-01-21 06:36:35 +00:00
mostang.com!davidm
be177c8b06
Initial revision
2004-01-21 06:36:35 +00:00
mostang.com!davidm
e1da718101
Add copyright notice.
...
(Logical change 1.157)
2004-01-21 06:36:35 +00:00
mostang.com!davidm
0378f95492
(check_PROGRAMS_common): Mention test-static-link.
...
(perf): New target.
(test_static_link_SOURCES): New macro.
(test_static_link_LDFLAGS): Likewise.
(Logical change 1.157)
2004-01-21 06:36:35 +00:00
mostang.com!davidm
a54ee88009
(Logical change 1.157)
2004-01-21 06:36:35 +00:00
mostang.com!davidm
40a1558927
Include <libunwind-ptrace.h> instead of <libunwind.h>.
...
(Logical change 1.156)
2004-01-21 01:05:07 +00:00