Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: master
...
compare: gsoc_instrument
Checking mergeability… Don't worry, you can still create the pull request.
Commits on May 19, 2010
khairul Creating a branch for gsoc making parrot instruments
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@46799 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d07b881
Commits on May 24, 2010
khairul Sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@46950 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
9c366b9
khairul added instrument dynpmc, probe library and simple example.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@46967 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
f40f3f0
Commits on May 26, 2010
khairul Removed duplicate functionality
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47012 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
2bdbde4
khairul Added tests for instrument dynpmc
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47013 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
613f45f
Commits on May 28, 2010
khairul Rewrote runtime library in NQP
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47093 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
aadcb02
khairul Removed unneeded PIR->PBC rule.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47096 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
5384471
Commits on May 29, 2010
khairul Sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47109 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
de49989
Commits on May 31, 2010
khairul Added method to get the values for op args. Added PARROT_EXPORT to ke…
…y_string function annotation in src/key.c

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47196 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
41eb609
khairul Rewrote tracer.pir in nqp and removed older pir example.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47197 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
5c00cab
Commits on Jun 02, 2010
@cotto cotto manifix
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47279 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
9b2fda2
Commits on Jun 04, 2010
khairul Reworked the data structures for the hooks, use a linked list now ins…
…tead.

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47352 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
279525c
Commits on Jun 05, 2010
khairul Added tests for hook insertion and removal.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47381 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
bfaa96b
Commits on Jun 06, 2010
khairul Sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47429 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a5b617f
Commits on Jun 08, 2010
khairul Made codetest mostly happy, exposed data attribute of task pmc.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47445 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
c4c27d0
Commits on Jun 10, 2010
khairul Made the runtime library a single pbc + event notification
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47530 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
8daf07f
Commits on Jun 11, 2010
khairul Fixed t/dynpmc/instrument.t to reflect changes.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47556 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
06054bf
Commits on Jun 12, 2010
khairul Sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47564 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
4fc8945
Commits on Jun 14, 2010
khairul Added detecting dynlib loading
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47625 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
b72dbac
khairul forgot to update n_vtable_max after extending it.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47627 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
16728fa
Commits on Jun 15, 2010
khairul make codetest happy
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47641 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
45fe80e
Commits on Jun 16, 2010
khairul use opsenum instead of raw op numbers
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47653 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d845592
khairul Handle exit opcodes and unhandled exceptions so that instruments can …
…be finalized.

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47661 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
798f2a1
Commits on Jun 17, 2010
khairul Cleanup hook list on destroy.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47671 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
15748d2
Commits on Jun 18, 2010
khairul Handle exit/exceptions thrown in inner runloops.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47688 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
50d4d12
khairul beginnings of updated hook callback interface.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47691 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
7f73c6f
Commits on Jun 19, 2010
khairul fleshed out instrumentop.pmc.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47713 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
f275671
khairul sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47715 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a92b903
Commits on Jun 20, 2010
khairul added tests for instrumentop.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47720 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
035dd0b
khairul Update probes on dynop loading so that hooks for dynops can be set + …
…tab removal

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47732 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
b017d54
khairul Updated tests to reflect previous changes.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47733 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
7f4e4a2
Commits on Jun 22, 2010
khairul Combined 4 methods into 1 method returning a hash of the current cont…
…ext information + updated test.

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47753 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
f50e5ba
Commits on Jun 23, 2010
khairul Added test for Probe class + interface updates.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47783 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
eb9b386
Commits on Jun 24, 2010
khairul Added test for loadlib event.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47806 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a1c0f86
Commits on Jun 26, 2010
khairul Initial attempt to instrument gc.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47862 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
2232faf
@cotto cotto fix TAP output
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47875 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a1139a8
Commits on Jun 28, 2010
khairul Completed stubbing gc functions.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47903 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
9b94f52
Commits on Jun 29, 2010
khairul Removed the huge if/else blocks and replaced it with hash.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47908 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
613b67c
khairul Clean up the hashes on destroy.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47910 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
aa3ddd2
khairul Added documentation, additional information (address) + minor cleanup
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47911 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
6e28d1f
Commits on Jun 30, 2010
khairul Refactored EventDispatcher + added GC events.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47937 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
caca327
Commits on Jul 02, 2010
khairul Added tests for InstrumentGC.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47963 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
5b7ec4c
Commits on Jul 03, 2010
khairul Added test for Instrument::EventDispatcher
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@47971 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d8d71bc
Commits on Jul 05, 2010
khairul First cut at instrumenting vtables.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48004 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
c88a9a1
khairul Removed debug statements.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48005 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
eca671e
khairul Added method to remove vtable hooks.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48011 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
10e3139
khairul Sync with trunk.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48013 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
4d83739
Commits on Jul 07, 2010
khairul Fixed code issues raised by cotto.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48031 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d69dae8
khairul Fixed code issues raised by cotto (missed EventDispatcher.nqp).
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48033 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
df59f10
Commits on Jul 10, 2010
khairul Added generator for vtables.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48063 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
015cfe2
khairul Make generated code pass codetest.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48064 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
0c8e61c
khairul Added generator for gc stubs.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48066 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
da8b180
khairul Fix typo/bug in src/pmc/pointer.pmc.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48067 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
95c8e12
Commits on Jul 11, 2010
khairul Updated instrument event dispatching.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48073 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
ad2be9f
Commits on Jul 12, 2010
khairul Refactored common items out of InstrumentGC and InstrumentVtable.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48075 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
2444db0
Commits on Jul 13, 2010
khairul Added documentation.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48076 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a13146c
khairul Lowercased vtable groups.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48077 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
1259717
khairul Code changes as suggested by cotto++.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48079 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
11f3230
khairul Added .dump file dependencies.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48080 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d2bc13f
Commits on Jul 17, 2010
khairul Regenerated code to add size hash entry for gc allocations + all group
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48101 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
f2eb7b2
Commits on Jul 19, 2010
khairul Added test for gc event class.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48108 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
7246b44
khairul Add NULL check when destroying InstrumentVtable.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48111 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
552a6f5
Commits on Jul 20, 2010
@cotto cotto update test plan
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48119 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
0034e84
khairul Rough cut of instrumenting methods + vtable overrides + Regenerated v…
…table stubs.

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48134 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
504125b
Commits on Jul 22, 2010
khairul Implemented the NYIs in InstrumentClass.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48164 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
c036e80
Commits on Jul 24, 2010
khairul Sync with trunk
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48170 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
0510793
khairul Added tests for InstrumentVtable + Regenerated vtable stubs.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48171 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
69e9149
Commits on Jul 27, 2010
khairul Added test for InstrumentClass.pmc
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48181 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
3f3b540
khairul Added test for InstrumentObject.pmc
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48182 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
356a85f
khairul Commented out currently non-working code.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48183 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a63599a
@cotto cotto manifix
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48184 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
7ea4a44
Commits on Aug 03, 2010
khairul Refactored runcore functions out of Instrument.pmc
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48261 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
0deaa2c
khairul Updated get_hook_list to return a STRING* instead.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48262 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d6bdc5e
khairul Updated to initialise using an Instrument instance.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48263 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
5deafa0
khairul Updated method instrumentation.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48264 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d349def
khairul Reverted previous change to pointer.pmc.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48265 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d775437
khairul Updated generator scripts.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48266 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
e1d11e3
khairul Regenerated stub functions.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48267 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
6b0fd70
khairul Updated test cases
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48268 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
4623c6b
khairul Updated runtime library
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48269 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a8c83c9
khairul Updated manifest.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48270 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
a29d590
khairul Fixed build order
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48271 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
c3ddf03
khairul Removed test for deleted class.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48288 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
30d19a6
khairul Updated manifest.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48289 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
38b889c
khairul Fixed broken test.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48291 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
fb7ded2
Commits on Aug 04, 2010
khairul Added disable method of Instrument::Event::Object.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48306 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
718dd5d
khairul Expose call_sig and invocant to callback.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48307 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
d262cc4
Commits on Aug 08, 2010
khairul Updated Instrument runtime libraries.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48345 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
46c9954
khairul Please codetest (mostly)
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48346 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
0b08797
khairul Updated tests.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48347 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
ddf1059
khairul Updated stub generators and regenerated stubs.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48348 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
7db4bb9
khairul deleted instrumentvtable.pmc (merged into instrumentclass.pmc)
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48349 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
4f05984
Commits on Aug 09, 2010
@cotto cotto remove some unneeded changes to Task
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48352 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
dfe819c
khairul Fixed copy-paste error.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48353 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
38bf251
khairul Mark attr->event_handlers.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48355 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
521d53f
Commits on Aug 12, 2010
khairul Sync the singleton pmcs between the two interpreters
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48437 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
6e3dd00
khairul Please codetest.
git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@48438 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
24dcc5a
Commits on Oct 02, 2010
@cotto cotto add dependencies for Instrument/Instrument.pir, hopefully fixing the …
…parallel build

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_instrument@49410 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
cd84ae6