Charlie Curtsinger
e71b89b024
Adjust file base address with offset from /proc/self/maps
2019-10-08 09:04:24 -05:00
Charlie Curtsinger
ccaf581a27
Merge pull request #131 from plasma-umass/more-python
...
Support any python version
2019-10-08 09:58:23 -04:00
Charlie Curtsinger
dd839b1b95
coz works fine with any python, not just python 3
2019-10-08 08:52:07 -05:00
Charlie Curtsinger
725412c460
Merge pull request #130 from plasma-umass/no-onstack
...
Drop `SA_ONSTACK` from coz signal handler
2019-10-08 09:51:31 -04:00
Charlie Curtsinger
d6036f12e1
No more SA_ONSTACK
2019-10-08 08:46:23 -05:00
Charlie Curtsinger
e2bbda31ac
Merge pull request #128 from plasma-umass/revert-96-fix_dwarf
...
Revert "Efficient processing of lineTable. Only units in source scope are pro…"
2019-10-07 21:30:06 -04:00
Charlie Curtsinger
844e2184c6
Revert "Efficient processing of lineTable. Only units in source scope are pro…"
2019-10-07 17:07:13 -04:00
Charlie Curtsinger
607d6fc90b
Merge pull request #127 from plasma-umass/patches
...
Patches for PARSEC benchmarks
2019-10-07 16:24:15 -04:00
Charlie Curtsinger
a05bb76e63
Patches for PARSEC benchmarks
2019-10-07 16:20:24 -04:00
Emery Berger
b30feba618
Add a Rust implementation of coz.h
( #112 )
...
Add a Rust implementation of `coz.h`
2019-10-05 15:34:42 -04:00
Emery Berger
13b50243f5
Merge pull request #121 from hunger/master
...
Do not resolve the decl_file value from other DIEs than the one
2019-10-05 15:34:14 -04:00
emeryberger
9beab9b841
Added link to JCoz.
2019-10-04 19:34:53 -04:00
Emery Berger
0c6e11d8a3
Merge pull request #125 from camchenry/master
...
Find smallest unique path name
2019-10-04 14:05:02 -04:00
camchenry
7054a4da9c
v2: find minimum path parts
2019-10-04 12:08:15 -04:00
camchenry
d97e5e6fef
Add title attribute for plots
2019-10-03 13:03:12 -04:00
camchenry
a1cdc54ae0
Add common path trimming
2019-10-02 11:27:56 -04:00
Tobias Hunger
f4faaed32a
Do not resolve the decl_file value from other DIEs
...
The other DIEs might be part of another compilation unit, so the
index into the line_table taken from those DIEs might cause an
std::out_of_range exception when used on our line_table.
2019-09-28 22:36:31 +02:00
Charlie Curtsinger
5e0550c0e8
Merge pull request #119 from plasma-umass/custom-prefix
...
Fix for custom prefix library search. Fixes #111 and #113
2019-09-26 16:03:01 -05:00
Charlie Curtsinger
9cdd715722
Forgot to remove an important test line
2019-09-26 15:59:30 -05:00
Charlie Curtsinger
3eb5b720ad
Corrected search for coz runtime library to support custom install prefix
2019-09-26 15:55:40 -05:00
Charlie Curtsinger
539b975fca
Make target directories for custom-prefix installation
2019-09-26 15:55:01 -05:00
Alex Crichton
2f12e6e4f3
Add a Rust implementation of coz.h
...
After seeing a recording of Emery's recent talk at Strange Loop I was
super impressed with `coz` and immediately wanted to try it out with
Rust code! I was curious to see if `coz` could help us out with
profiling either Cargo, Rust's build system, or perhaps the compiler
itself, `rustc`. In any case I ended up creating
https://github.com/alexcrichton/coz-rs as a repository to house an
implementation of `coz.h` for Rust so `coz` could be used to easily work
with Rust executables.
I toyed around a bit and Emery [mentioned] that this would be good
support to have upstream once it's working, and I think it's working
now! I haven't been able to get a ton of useful results myself yet, but
I'm still figuring out the best way to ask `coz` questions and the best
way to instrument programs myself.
Nonetheless I think that the Rust support here is correct in the sense
that it's a faithful translation of `coz.h`, and now it's just a problem
with me learning how best to instrument programs.
This commit adds a new `rust` directory with a crate (Rust parlance for
"library") which provides macros that allow using `coz` instrumentation
similar as you would in C, except in idiomatic Rust style. I've
published the crate on Rust's package registry, crates.io, as
[`coz`][crate], and I don't mind keeping it there or transferring it to
y'all, whichever you'd prefer! I also don't mind being on the hook for
reviewing any Rust-related changes, or if y'all need to jettison the
Rust support in the future I don't mind that either and can give it a
home!
[mentioned]: https://github.com/alexcrichton/coz-rs/issues/2
[crate]: https://crates.io/crates/coz
2019-09-25 11:07:44 -07:00
Charlie Curtsinger
72c4afecba
Merge pull request #118 from Calinou/readme-mention-python3
...
Mention Python 3 support in the README
2019-09-25 11:56:30 -05:00
Hugo Locurcio
492a214842
Mention Python 3 support in the README
2019-09-25 09:37:34 +02:00
Charlie Curtsinger
80c2846f12
Switching to python 3. Fixes #106
2019-09-05 08:58:40 -05:00
Charlie Curtsinger
674e4e7e37
Weak references didn't work with aliasing. Benchmarks are using the system-install coz.h for some reason, which masked the issue.
2019-08-18 17:51:21 -05:00
Charlie Curtsinger
7abaffec9f
Cleaned up benchmark running code. Using a weak reference so profiled programs do not need to link in libdl to build with progress points.
2019-08-18 17:32:02 -05:00
Charlie Curtsinger
46691ac521
Benchmark inputs are too large for CI testing
2019-08-18 16:39:52 -05:00
Charlie Curtsinger
baf5353ebd
Run benchmarks on test inputs for CI build
2019-08-18 16:33:54 -05:00
Charlie Curtsinger
3e2f144b30
Makefile cleanup
2019-08-18 16:28:54 -05:00
Charlie Curtsinger
9b0cc348c6
Squash spurious warnings about noreturn functions from g++
2019-08-18 13:26:36 -05:00
Charlie Curtsinger
cf74c3057e
libelfin libraries were missing
2019-08-18 13:18:54 -05:00
Charlie Curtsinger
5fe799006d
Directory name didn't match the docs build command
2019-08-18 13:13:44 -05:00
Charlie Curtsinger
323b8d0c8c
Explicitly pass the --install-recommends flag for apt-get
2019-08-18 13:09:16 -05:00
Charlie Curtsinger
78fe03cbb7
rst2man requires install-recommends
2019-08-18 13:02:35 -05:00
Charlie Curtsinger
c7a00ce4cd
Install docutils as dependency
2019-08-18 12:54:47 -05:00
Charlie Curtsinger
079ce69961
Fix the install target for viewer directory. Small CI updates
2019-08-18 12:49:32 -05:00
Charlie Curtsinger
a16f7b66cf
Missing sudo in CI config
2019-08-18 12:44:26 -05:00
Charlie Curtsinger
ba1fb59ec7
Comment CI build and specify OS version
2019-08-18 12:40:50 -05:00
Charlie Curtsinger
a1c3509ac0
Testing a Travis CI build
2019-08-18 12:37:49 -05:00
Charlie Curtsinger
6b3ea268b1
Dropped internal dependency on libelfin. Updated build instructions with build dependencies.
2019-08-18 12:23:30 -05:00
Charlie Curtsinger
a9642029b6
How'd that NUL byte get in there?
2019-08-18 11:11:16 -05:00
Charlie Curtsinger
6d58b90497
Bump npm dependency versions, update build process, and fix some links
2019-08-18 11:06:47 -05:00
Charlie Curtsinger
917bc6de69
Organizing viewer
2019-08-18 10:52:41 -05:00
Charlie Curtsinger
98f0a4d949
Added make target to update the gh-pages branch
2019-08-18 10:31:54 -05:00
emeryberger
013e7c7b1f
Added installation instructions.
2019-03-11 18:29:09 -07:00
emeryberger
54dd740a6b
Updated pbzip2 Makefile link.
2018-11-20 21:18:38 -08:00
Charlie Curtsinger
be457aa346
Better warning and error reporting for small or invalid profiles. Fixes #25
2018-10-19 11:37:00 -05:00
Charlie Curtsinger
d9de1a1bdd
Change prepublish to prepare to avoid npm warning
2018-10-19 10:54:42 -05:00
Charlie Curtsinger
8e2c092ab5
Updated javascript from profile viewer
2018-10-19 10:51:54 -05:00