aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/DataflashManager.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed over www.fourwalledcubicle.com links to the new www.lufa-lib.org ↵Dean Camera2010-10-281-1/+1
| | | | redirect domain, including the new aliased links for LUFA-related pages such as the various download/source control mirrors and support lists.
* Minor documentation corrections.Dean Camera2010-10-131-2/+2
|
* Clean up excessive whitespace at the end of each line using the wspurify ↵Dean Camera2010-10-131-40/+41
| | | | tool made by Laszlo Monda
* Spell check all source files once again to find any typos.Dean Camera2010-07-291-61/+61
|
* Update all demos, projects and bootloaders to indent all function ↵Dean Camera2010-07-211-4/+12
| | | | | | parameters, one per line, for better readability. Add missing const qualifiers to the demos.
* Add svn:eol-style property to source files, so that the line endings are ↵Dean Camera2010-05-081-525/+525
| | | | correctly converted to the target system's native end of line style.
* Add const keyword to the demo function parameters where possible.Dean Camera2010-04-181-2/+2
|
* Add FatFS library to the Webserver project, extend the HTTP server so that ↵Dean Camera2010-01-281-0/+525
it now serves files from the Dataflash. Add Mass Storage device mode class driver so that files can be loaded to the board Dataflash when inserted into a PC.
.highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
# Coverage support for Xen

Coverare support allow you to get coverage information from Xen execution.
You can see how many times a line is executed.

The compiler have specific options that enable the collection of these
information. Every basic block in the code will be instructed by the compiler
to compute these statistics. It should not be used in production as it slow
down your hypervisor.

## Enable coverage

Test coverage support can be turned on compiling Xen with coverage option set
to y.

Something like:
    cd xen
    make coverage=y

(or change your `Config.mk` file).

## Extract coverage data

The way GCC and other tools deal with coverage information is to use some files
created during build phase (.gcno) and some files produced by executing the
*program* (.gcda). The program in this case is Xen but Xen cannot write files
so the way you can use coverage from Xen is extract coverage data from Xen and
then split these information into files.

To extract data you use a simple utility called `xencov`. Mainly `xencore`
allow you to do 3 operations:

* `xencov read` extract data
* `xencov reset` reset all coverage counters
* `xencov read-reset` extract data and reset counters at the same time.

Another utility (**TODO**) is used to split extracted data file into files
needed by userspace tools.