commit | f25bbc068e6ae5131f6be08c5e96b451e6f789da | [log] [tgz] |
---|---|---|
author | Matthew Khouzam <matthew.khouzam@ericsson.com> | Tue Jan 22 18:05:22 2019 -0500 |
committer | Matthew Khouzam <matthew.khouzam@ericsson.com> | Fri Feb 01 09:47:53 2019 -0500 |
tree | 586f3b6c894db875ee56e7f9d0fe97e35adff01f | |
parent | 9521905635c7d1ea69ca272f002ab6165217d9da [diff] |
analyses: event aspect count analyses Event count is an on-demand analysis that counts the number of occurrences of every event field value. It is good at finding outlyiers, for example in an SSH log, which users connect the most often. Storing the data locally would require orders of magnitude more space than the original trace, so it is an on-demand analysis instead. It is called "Event Field Count Analysis" but at the moment it uses the aspects of a trace. This is because every aspect is a "field" in the events table. So for a UI facing individual, this makes more sense. TODO: handle timestamps/known aspect types TODO: make LAMI more generalized Change-Id: I9669f56c09d9f82b6b9585f68bf0131fbe44a5c8 Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com> Reviewed-on: https://git.eclipse.org/r/135585 Tested-by: CI Bot Reviewed-by: Genevieve Bastien <gbastien+lttng@versatic.net>
This source tree contains the source code for Trace Compass Incubator plugins.
This project is an incubator which aims at rapid availability of new features and prototypes, to provide new functionnalities to end users and get feedback from them during the development process. As such, code style and design architecture will not be looked at too much during reviews, though some advices and ideas can be discussed. The features have to work as expected though and not break anything in Trace Compass.
Add unit tests: CI will be run on every patch on gerrit, so having unit tests ensures that a patch does not break anything somewhere else. Also, these plugins are work in progress. Having unit tests makes it easier to manipulate code structure and algorithms by knowing the expected results. Tests need to be maintained, but have more benefits than trouble.
There is no release, so no API. Plugins may use the other incubation features at their own risk.
The incubator is an Eclipse project so code will be verified to make sure it can be distributed by Eclipse. Committers are responsible to ensure the IP due diligence is met with every patch submitted.
When the code base of some feature gets more stable and mature, it may be ported to the main Trace Compass repository and only then will there be thorough code review and design discussion.
To set up the environment to build Trace Compass from within Eclipse, see this wiki page: http://wiki.eclipse.org/Trace_Compass/Development_Environment_Setup
Once the Trace Compass environment set, import the projects from this repository.
The Maven project build requires version 3.3 or later. It can be downloaded from http://maven.apache.org or from the package management system of your distro.
To build the project manually using Maven, simply run the following command from the top-level directory:
mvn clean install
The default command will compile and run the unit tests. Running the tests can take some time, to skip them you can append -Dmaven.test.skip=true
to the mvn
command:
mvn clean install -Dmaven.test.skip=true
The following Maven profiles and properties are defined in the build system. You can set them by using -P[profile name]
and -D[property name]=[value]
in mvn
commands.
-Pdeploy-update-site
Mainly for use on build servers. Copies the standard update site (for the Eclipse plugin installation) to the destination specified by -DsiteDestination=/absolute/path/to/destination
.