Commit Graph

307 Commits

Author SHA1 Message Date
Charlie Curtsinger
fbfe8cc528 Merge pull request #71 from petterreinholdtsen/rebuild-libelfin
Adjust deps.mk to rebuild libelfin when needed after 'make distclean'.
2016-08-15 09:52:34 -05:00
Petter Reinholdtsen
a93ddcb81b Adjust deps.mk to rebuild libelfin when needed after 'make distclean'.
This split the old target in two, one doing git clone and the other
building the libraries.
2016-08-15 14:15:43 +02:00
emeryberger
54c526d5c7 Corrected link to point to PDF. 2016-08-14 21:15:19 -07:00
emeryberger
3dac442eec Added link to arXiv post of Coz paper. 2016-08-14 21:13:32 -07:00
emeryberger
fd87439be4 Removed SOSP paper; will point to link instead. 2016-08-14 21:13:00 -07:00
Charlie Curtsinger
3aecd3e271 Merge pull request #72 from petterreinholdtsen/distclean-no-deps
Make sure 'distclean' target work before deps is populated.
2016-08-12 16:59:25 -05:00
Petter Reinholdtsen
c52ecc08da Make sure 'distclean' target work before deps is populated. 2016-08-11 22:44:52 +02:00
Charlie Curtsinger
a4a8399e2a Merge pull request #68 from petterreinholdtsen/no-default-benchmark-build
Stop building benchmarks by default.
2016-08-11 10:06:14 -05:00
Charlie Curtsinger
e555fda72c Merge pull request #67 from petterreinholdtsen/gcc-initializers
Port code to build using GCC.
2016-08-11 10:05:50 -05:00
Petter Reinholdtsen
9c34d16c2f Port code to build using GCC.
GCC 6 complains with "sorry, unimplemented: non-trivial designated
initializers not supported/" for the original struct initializers.
Rewrite code to clear structs and assign individual members instead.

The designated initializers feature is only part of standard C, not
(at least not yet) part of standard C++.
2016-08-11 13:56:40 +02:00
Petter Reinholdtsen
9625f6db97 Stop building benchmarks by default. 2016-08-10 17:56:00 +00:00
Charlie Curtsinger
3e9773687f Merge pull request #65 from petterreinholdtsen/distclean-target
Thanks!
Fixes #56.
2016-08-10 11:26:18 -05:00
Petter Reinholdtsen
1b18a28eb8 Implement 'distclean' target cleaning more than the 'clean' target.
Fixes issue #56.
2016-08-10 14:32:01 +00:00
Charlie Curtsinger
55ca83373c Merge pull request #64 from petterreinholdtsen/error-when-build-fail
Make sure build return an error code when it fail.
2016-08-10 09:15:07 -05:00
Charlie Curtsinger
e011c49614 Merge pull request #66 from petterreinholdtsen/unused-gitignore-lines
Remove .gitignore lines refering to nonexisting directories.
2016-08-10 09:13:47 -05:00
Petter Reinholdtsen
8473f0bb9f Remove .gitignore lines refering to nonexisting directories. 2016-08-10 09:32:42 +00:00
Petter Reinholdtsen
b49a5d2f13 Make sure build return an error code when it fail. 2016-08-10 08:45:12 +00:00
Charlie Curtsinger
92ebb04e68 Forgot to finish the. 2016-08-09 21:27:45 -05:00
Charlie Curtsinger
f364bbe7f8 Merge pull request #62 from plasma-umass/51-copyright-update
Updated licenses and copyright notices in source files. Fixes #51
2016-08-09 21:23:41 -05:00
Charlie Curtsinger
5cd402164b Updated licenses and copyright notices in source files. Fixes #51 2016-08-09 21:13:30 -05:00
Charlie Curtsinger
6701430b7e Use ifdef guards to support older libc <4.6.3. Fixes #16 2016-07-14 11:24:41 -05:00
Charlie Curtsinger
669106b3ea Merge pull request #52 from petterreinholdtsen/load-from-pkglib
Look for libcoz.so in the /usr/lib/coz-profiler/ location first.
2016-07-14 11:07:14 -05:00
Charlie Curtsinger
e33f58d531 Merge pull request #50 from petterreinholdtsen/install-target
Implement 'make install DESTDIR=target'.
2016-07-14 11:06:37 -05:00
Charlie Curtsinger
29bff44145 Merge pull request #49 from petterreinholdtsen/print-link-path-failure
Include path of link when unable to read symlink.
2016-07-14 11:04:25 -05:00
Petter Reinholdtsen
d4c43f4837 Look for libcoz.so in the /usr/lib/coz-profiler/ location first.
This allow the package to be distributed as a deb/rpm.
2016-07-11 05:19:20 +00:00
Petter Reinholdtsen
781409b49e Implement 'make install DESTDIR=target'. 2016-07-11 05:08:50 +00:00
Petter Reinholdtsen
b86b9a6958 Include path of link when unable to read symlink. 2016-07-10 20:42:46 +02:00
Charlie Curtsinger
ac9f6c7420 Fixing race condition in real.cpp. Fixes #29 2016-04-06 14:30:32 -05:00
Charlie Curtsinger
4dd185807d Update about limitations languages. Fixes #47 2016-04-06 14:18:46 -05:00
Charlie Curtsinger
810c9eea96 Small bug broke fixed-line experiments 2016-03-21 13:30:54 -05:00
Emery Berger
64ae094cb6 Merge pull request #42 from mmcco/master
Sync types of copy_from_ring_buffer and its prototype
2016-01-06 21:17:13 -05:00
Michael McConville
6202fe7f39 Use ptrdiff_t for memory offset
The type of copy_from_ring_buffer's index argument was inconsistent
between the function's prototype and definition. Emery suggested using
ptrdiff_t rather than size_t, as index represents a memory offset rather
than a size.

We need to include cstddef for ptrdiff_t, so I added that as well.
2016-01-06 19:53:19 -05:00
Michael McConville
114f645b1f Sync types of copy_from_ring_buffer and its prototype
The prototype declares index as a size_t while the definition declares
it as a uint64_t. If I understand correctly, it's used a memory offset,
so size_t seems preferable.

This causes a build failure with Clang 3.4 on Ubuntu 14.04.3 LTS.
2016-01-06 15:23:17 -05:00
emeryberger
1f786249f6 Update with video link. 2015-12-19 18:50:03 -05:00
Charlie Curtsinger
0e70b9eabd Build libelfin with the same compiler to prevent issues related to GCC's ABI change. 2015-10-26 11:15:44 -04:00
Emery Berger
665d323212 causal -> coz. 2015-10-26 10:09:27 -05:00
Sasha Fedorova
4734cd108a fn must be declared static. Otherwise it's value is not retained between invocations of _call_coz_get_counter. When _initialized is set to 1 (and is correctly retained across invocations), but fn is not retained, we try to invoke it anyway and SEGFAULT. 2015-10-26 10:09:27 -05:00
Sasha Fedorova
a4cc432ea5 Indicated that the program must be linked with -ldl if it is using progress points 2015-10-26 10:09:27 -05:00
Charlie Curtsinger
151e2e3e37 Fixed speedup of 0 wasn't working 2015-10-26 10:09:27 -05:00
Sasha Fedorova
74e7cdb559 Updated the documentation to better explain progress points. 2015-10-26 10:09:27 -05:00
Charlie Curtsinger
95128f89f5 Restored end-to-end mode. That was simpler than expected. 2015-10-26 10:09:27 -05:00
Charlie Curtsinger
d4e57a8f5f Cleanup 2015-10-12 21:41:31 -04:00
Charlie Curtsinger
336a423856 Switched from delay counts to delay times 2015-10-12 21:10:19 -04:00
Charlie Curtsinger
1f0eba173a Dropped sample-only option because there was no way to process the results. 2015-10-11 21:59:01 -04:00
Charlie Curtsinger
510405c02a Disclaimer about removed command line progress point features, plus warning in the command line usage. 2015-10-11 21:55:42 -04:00
Charlie Curtsinger
7ff4a6cc9b Latency points must be named. Updated readme. 2015-10-11 21:51:06 -04:00
Charlie Curtsinger
841a22bfdf Whoops, subtracting in the wrong order. Changed log output slightly to match new plotting code. 2015-10-11 20:40:49 -05:00
Charlie Curtsinger
8424a76693 Naming consistency 2015-10-11 21:19:32 -04:00
Charlie Curtsinger
b4cee6d397 Cleaned up progress points for throughput and latency. Named progress point support. 2015-10-11 21:12:05 -04:00
Charlie Curtsinger
11e868ee3c Benchmarks can now build with system coz and includes. Fixes #26 2015-10-09 23:01:14 -04:00