Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move tracer.c into a subdirectory, so we can split it up. | Ned Batchelder | 2015-08-01 | 1 | -1415/+0 |
| | | | | | --HG-- rename : coverage/tracer.c => coverage/ctracer/tracer.c | ||||
* | Implement FileDisposition in C for speed. Final part of fix for #387. | Ned Batchelder | 2015-08-01 | 1 | -26/+139 |
| | |||||
* | Make the file more navigable | Ned Batchelder | 2015-07-31 | 1 | -4/+4 |
| | |||||
* | Intern the SetAttr strings for uniformity | Ned Batchelder | 2015-07-31 | 1 | -2/+4 |
| | |||||
* | Also intern method names for PyObject_CallMethod, though that matters far less. | Ned Batchelder | 2015-07-31 | 1 | -4/+10 |
| | |||||
* | Intern our strings | Ned Batchelder | 2015-07-30 | 1 | -9/+53 |
| | |||||
* | Add a stat for number of calls into Python objects | Ned Batchelder | 2015-07-29 | 1 | -2/+12 |
| | | | | | | Trying to track down a performance degradation between 3.7.1 and 4.0a7, I wondered if we accidentally called back into Python too many times. This counter shows that we did not... :( | ||||
* | Use more specific names than 'plugins', since there will be more of them in ↵ | Ned Batchelder | 2015-07-24 | 1 | -4/+4 |
| | | | | the future. | ||||
* | Add license mention to the top of all files. #313. | Ned Batchelder | 2015-07-24 | 1 | -1/+4 |
| | |||||
* | Be more careful about reading bytecodes. #375 | Ned Batchelder | 2015-06-16 | 1 | -2/+14 |
| | |||||
* | Be more disciplined about the values in should_trace_cache. #374. | Ned Batchelder | 2015-06-14 | 1 | -7/+21 |
| | |||||
* | Make sure not to call functions with an error set. | Ned Batchelder | 2015-06-03 | 1 | -3/+3 |
| | | | | | Python 3.5 is stricter about getting this right. So we have to call PyErr_Print to print and clear the error before calling the warn function. | ||||
* | Used the wrong string macro, this fixes Py3 | Ned Batchelder | 2015-04-20 | 1 | -1/+1 |
| | |||||
* | Fix another conflict. | Ned Batchelder | 2015-04-20 | 1 | -1/+1 |
| | |||||
* | I don't know how to resolve conflicts I guess. | Ned Batchelder | 2015-04-20 | 1 | -4/+1 |
| | |||||
* | Merge issue-324 fix | Ned Batchelder | 2015-04-20 | 1 | -3/+16 |
|\ | |||||
| * | Fix branch coverage for yield statements. #308 #324 | Ned Batchelder | 2015-04-20 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | Turns out the "call" and "return" trace events are really "start frame" and "end frame". They happen not only when functions are entered and left, but when generators yield and resume. We aren't interested in arcs into and out of yield statements, so the trace functions look more closely to see what's really happening, and record an arc in human-friendly terms. Thanks for Mickie Betz for pushing on this bug, although her code is no longer here. :( | ||||
* | | Stick to old-school C syntax | Ned Batchelder | 2015-02-28 | 1 | -1/+2 |
| | | |||||
* | | Last of the C extension review comments addressed. | Ned Batchelder | 2015-02-28 | 1 | -11/+31 |
| | | |||||
* | | Finish the plugin error checking in CTracer. | Ned Batchelder | 2015-02-28 | 1 | -9/+50 |
| | | |||||
* | | Refactor the plugin-disabler so we can use it in other places. | Ned Batchelder | 2015-02-28 | 1 | -27/+69 |
| | | |||||
* | | This seems to work better. Windows didn't like the other way. | Ned Batchelder | 2015-02-26 | 1 | -3/+5 |
| | | |||||
* | | More tracer.c improvements from code review | Ned Batchelder | 2015-02-26 | 1 | -11/+8 |
| | | |||||
* | | No need to zero new memory, and be consistent about checking returns | Ned Batchelder | 2015-02-26 | 1 | -48/+15 |
| | | |||||
* | | Handle exceptions from dynamic_source_filename. | Ned Batchelder | 2015-02-26 | 1 | -21/+65 |
| | | | | | | | | This required disabling plugins from the C tracer. | ||||
* | | Fix a symptom-less error in tracer.c, and lots of other suggested fixes ↵ | Ned Batchelder | 2015-02-21 | 1 | -4/+18 |
| | | | | | | | | noted from Yhg1s. | ||||
* | | Make branch=True get along with plugins. | Ned Batchelder | 2015-02-18 | 1 | -12/+11 |
|/ | |||||
* | Do at least a little error checking on the return from line_number_range. | Ned Batchelder | 2015-02-16 | 1 | -0/+3 |
| | |||||
* | Fix some refcounting mistakes | Ned Batchelder | 2015-02-16 | 1 | -8/+8 |
| | |||||
* | Refactor the trace function into smaller pieces | Ned Batchelder | 2015-02-15 | 1 | -219/+296 |
| | |||||
* | Protect against misbehaving plugins. | Ned Batchelder | 2015-02-15 | 1 | -3/+7 |
| | | | | | Also, test some misbehavior, and move our own annotations of plugins into prefixed attributes. | ||||
* | Fix a bad check that was causing mysterious py2/py3 differences | Ned Batchelder | 2015-02-10 | 1 | -3/+1 |
| | |||||
* | Don't need this any more | Ned Batchelder | 2015-02-08 | 1 | -4/+0 |
| | |||||
* | Plugin support is in C tracer as well as Python tracer | Ned Batchelder | 2015-02-08 | 1 | -48/+121 |
| | |||||
* | Use goto-error style in more places | Ned Batchelder | 2015-02-07 | 1 | -20/+35 |
| | |||||
* | Move stats.errors stuff to reduce repetition and noise | Ned Batchelder | 2015-02-06 | 1 | -15/+4 |
| | |||||
* | Switch to 'goto error' style to reduce the number of DECREFs needed | Ned Batchelder | 2015-02-06 | 1 | -37/+27 |
| | |||||
* | Don't need these includes any more | Ned Batchelder | 2015-02-04 | 1 | -2/+0 |
| | |||||
* | Use a WeakKeyDictionary to track coroutine objects to prevent leaks. Fixes #330. | Ned Batchelder | 2014-11-08 | 1 | -3/+15 |
| | |||||
* | More plugin re-shaping | Ned Batchelder | 2014-10-19 | 1 | -6/+6 |
| | |||||
* | "concurrency" is a better name that "coroutine" | Ned Batchelder | 2014-09-24 | 1 | -10/+10 |
| | | | | | --HG-- rename : tests/test_coroutine.py => tests/test_concurrency.py | ||||
* | Be struct about C declaration rules. Travis cares... | Ned Batchelder | 2014-09-19 | 1 | -1/+3 |
| | |||||
* | It's always worthwhile to get rid of trailing spaces | Ned Batchelder | 2014-09-17 | 1 | -1/+1 |
| | |||||
* | Merge in the C implementation of coroutine support. | Ned Batchelder | 2014-09-17 | 1 | -65/+187 |
|\ | |||||
| * | Remove a TODO | Ned Batchelder | 2014-07-26 | 1 | -1/+1 |
| | | | | | | | | | | --HG-- branch : c-coroutine | ||||
| * | Finish implementation of coroutine_id_func in C tracer, but it doesn't make ↵ | Ned Batchelder | 2014-07-26 | 1 | -15/+77 |
| | | | | | | | | | | | | | | gevent better. --HG-- branch : c-coroutine | ||||
| * | Refactor DataStack code into its own functions | Ned Batchelder | 2014-07-25 | 1 | -39/+79 |
| | | | | | | | | | | --HG-- branch : c-coroutine | ||||
| * | Refactor some C tracer code in prep for data stacks | Ned Batchelder | 2014-07-20 | 1 | -57/+59 |
| | | | | | | | | | | --HG-- branch : c-coroutine | ||||
| * | Start implementing coroutine tracing in C tracer, will be hard :( | Ned Batchelder | 2014-07-20 | 1 | -0/+18 |
| | | | | | | | | | | --HG-- branch : c-coroutine | ||||
* | | Progress on plugins | Ned Batchelder | 2014-09-14 | 1 | -0/+37 |
| | |