aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAge
* Merged VCPU and VTASK plots.Jonathan Herman2012-10-06
|
* Draw plot once on load, distributing records via hashing.Jonathan Herman2012-08-22
| | | | | | | | | | | | | redraw_pixmap_backend was being called 3 times. 2 of these times were superflous calls to configure. Added a hack to ignore the second two configures. Plot CPU reduction: 70% Each record was being sent to every plot. Now, records are only sent to the CPU and Task plots which hash to a calculated PID. Container plots currently aren't covered by this. Plot CPU reduction (after previous change): 30%
* containers: both virtual tasks and cpus now drawnJonathan Herman2012-03-28
|
* containers: abstracted out common task-type codeJonathan Herman2012-03-24
|
* rt-graph: real-time cpus addedJonathan2012-03-08
|
* rt-graph: Litmus events and tasks loaded on startupJonathan2012-03-05
|
* Initial work generating event cachesJonathan2012-03-05
|
* blk plugin: replace BLK_TC_BARRIER with BLK_TC_FLUSH/BLK_TC_FUAStefan Hajnoczi2012-01-09
| | | | | | | | | | | | | | | | | | | | | The BLK_TC_BARRIER flag was dropped in Linux commit c09c47caedc in August 2011. The blk plugin fails to build against recent kernel headers. Since no flag bits were left, the new BLK_TC_FLUSH flag reused the BLK_TC_BARRIER bit. The new BLK_TC_FUA flag was also added. This patch updates fill_rwbs() to reflect the new BLK_TC_FLUSH/BLK_TC_FUA flags. This allows plugin_blk.c to build successfully on recent kernels. Most of the patch deals with detecting old vs new kernel headers so we can build successfully on both. (Namhyung Kim recommended using the makefile check used by perf and other tools) Link: http://lkml.kernel.org/r/1326108639-13904-1-git-send-email-stefanha@linux.vnet.ibm.com Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Cc: Namhyung Kim <namhyung@gmail.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Cross-compile fixes for LDFLAGS and include pathDarren Hart2011-11-30
| | | | | | | | | | | Add ability for the Makefile to respect LDFLAGS. Also remove hardcoded /usr/local/include include path. Link: http://lkml.kernel.org/r/4ED6C808.9030003@linux.intel.com Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Version 1.2Steven Rostedt2011-11-07
| | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Build and install doc by defaultSteven Rostedt2011-11-07
| | | | | | | | I have been informed that documentation (man pages) should be installed by default and not just separate. Reported-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Do not make trace-cmd have to build with ptraceSteven Rostedt2011-09-28
| | | | | | | | If ptrace is not available on an OS or arch, do not fail the build. Simply do not support the child tracing feature. Reported-by: Shawn Bohrer <sbohrer@rgmadvisors.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Add trace-cmd optionsSteven Rostedt2011-03-18
| | | | | | | Add trace-cmd options that reads all the plugins and lists the available options for trace-cmd report. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Allow setting CC and AR, or CROSS_COMPILE from command lineDavid Sharp2011-03-10
| | | | | | | | | | | Makefiles suck: Use some makefile magic to get the best of all worlds for CC and AR: Sane defaults and the ability to override CC, and AR, or use CROSS_COMPILE to set a prefix. Signed-off-by: David Sharp <dhsharp@google.com> LKML-Reference: <1299791491-1805-1-git-send-email-dhsharp@google.com> Cc: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Add hack to report out blktraceSteven Rostedt2011-02-25
| | | | | | | | | | | | The blktrace never exported the ftrace events via the /debug/tracing/events directory. Not to mention, that the blktrace is much more complex data to read out. Add a hack into the trace-input that creates a event format that parse-events can read for the blktrace file, and also create a plugin to parse the complex data. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Move trace-cmd record code out of trace-cmd.cSteven Rostedt2011-02-23
| | | | | | Move the trace-cmd record code into its own file trace-record.c Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Rename trace-record.c to trace-recorder.cSteven Rostedt2011-02-23
| | | | | | | | | With the planning of creating a separate file for tracecmd record, the trace_recorder code should go into trace-recorder.c instead of trace-record.c. This way the tracecmd record code can have a file with the same name. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Version 1.1Steven Rostedt2011-02-09
| | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Use conditional assignment of CC and ARDarren Hart2011-01-06
| | | | | | | | | | | Allow the user to specify CC and AR via the environment by only setting them in the Makefile if they don't already exist. This is useful for external build systems for example. Signed-off-by: Darren Hart <dvhart@linux.intel.com> LKML-Reference: <1294333733-7746-1-git-send-email-darren@dvhart.com> CC: Tim Bird <tim.bird@am.sony.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Move trace-usage to lib objectsDarren Hart2011-01-04
| | | | | | | | | | Make the usage function available to shared objects, such as the python ctracecmd.so module built by the SWIG mechanism. Signed-off-by: Darren Hart <dvhart@linux.intel.com> LKML-Reference: <1294173820-7043-3-git-send-email-dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: Added trace stack commandSteven Rostedt2010-10-04
| | | | | | | | Added the command "trace-cmd stack" to run the stack tracer. It simply enables the stack tracer and depending on the options it will ouput the current stack, or disable it. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* plugin_kvm: Disassemble instructions for kvm_emulate_insnAvi Kivity2010-09-23
| | | | | | | | | | Override kvm_emulate_insn formatting to use a disassembler to format the emulated instruction. If a disassembler (udis86) is not available, fall back to showing the instruction bytes in hex. Signed-off-by: Avi Kivity <avi@redhat.com> LKML-Reference: <1284906837-2431-1-git-send-email-avi@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* Merge remote branch 'push/trace-cmd-kvm' into trace-cmdSteven Rostedt2010-09-23
|\ | | | | | | | | | | | | Conflicts: Makefile Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * trace-cmd: Add plugin_kvm.soSteven Rostedt2010-06-17
| | | | | | | | | | | | | | | | | | Added code to handle the kvm events that happened whil doing a trace on a 2.6.34 version of the kernel on my Intel box. This adds a kvm plugin to process some of the kvm events. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | trace-cmd: Add trace-cmd restoreSteven Rostedt2010-09-13
| | | | | | | | | | | | | | | | The restore feature now allows you to make a trace.dat file from several trace.dat.cpu.X files. This will let you put together files leftover from a crashed trace-cmd record run. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Add tags for file names, function prototypesJohn Kacur2010-06-25
| | | | | | | | | | | | | | | | For vi, add tags for file names, function prototypes and external and forward variable declarations. Signed-off-by: John Kacur <jkacur@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | trace-cmd: Add indentation to function tracerSteven Rostedt2010-06-24
|/ | | | | | | | | Add a plugin_function.so that will override the function tracer and use the parent functions to determine how to indent a function. This give a nice visual affect similar to what the function graph tracer provides. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* trace-cmd: append to CFLAGS instead of being overridenChase Douglas2010-06-15
| | | | | | | | | | Most package builders apply their own CFLAGS, often set during the make invocation. The trace-cmd internal CFLAGS is overriden in this case. Make sure the important flags are appended. Signed-off-by: Chase Douglas <chase.douglas@canonical.com> LKML-Reference: <1276449108-21328-1-git-send-email-chase.douglas@canonical.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* kernelshark: Add "capture" featureSteven Rostedt2010-06-14
| | | | | | | | This is the start of code to allow kernelshark to be used to capture data. This patch also introduced threaded tasks in reading the trace-cmd output. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* Merge branch 'kernelshark-devel' into trace-cmdSteven Rostedt2010-06-10
|\ | | | | | | | | | | | | Conflicts: Makefile Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * kernelshark/build: Install HTML doc and reference itSteven Rostedt2010-04-09
| | | | | | | | | | | | | | Install the HTML document on "make install_doc" and have the kernelshark executable be able to reference that location. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * parse-events: Move parse-event utils to separate fileSteven Rostedt2010-04-09
| | | | | | | | | | | | | | | | Move the util functions used by parse-events into a separate file and compile it with the libparsevents library. Also add "__die()" equivalent functions that are always available. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * trace-view: Added saving of filtersSteven Rostedt2010-04-09
| | | | | | | | | | | | | | Add "Save filters" to "File" menu, where it will allow the user to save the filters to a file in XML format. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
| * kernelshark: Add dialog helperSteven Rostedt2010-04-09
| | | | | | | | | | | | | | Add trace-dialog.c to include a trace_show_help() and trace_dialog() helpers. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Add DESTDIR to makeSteven Rostedt2010-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the variable DESTDIR that allows a user to install into a directory that will later be moved to another host. This facilitates the creation of distribution packages. make DESTDIR=/tmp/build prefix=/usr install Will install the program files into /tmp/build/usr/.. but the program will expect to find itself in the /usr/.. directories. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | trace-cmd: Version 1.1.0-rc1Steven Rostedt2010-06-09
| | | | | | | | | | | | | | Separate out the difference between the stable releases and the developmental ones. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: EXTRAVERSION should be set without a leading periodJohn Kacur2010-06-09
| | | | | | | | | | | | | | | | | | EXTRAVERSION should be set without a leading period, and then add the period where necessary in the Makefile Signed-off-by: John Kacur <jkacur@redhat.com> LKML-Reference: <1276099288-3029-2-git-send-email-jkacur@redhat.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Fix typo of PYTHON_PLUGINsSteven Rostedt2010-06-07
| | | | | | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Don't remove trace_plugin_dir twiceSteven Rostedt2010-06-07
| | | | | | | | | | | | | | | | | | The 'make clean' removes trace_plugin_dir twice. This is because CMD_TARGETS includes it, and it is also included directly with the clean Makefile target. Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Use file names in BUILD_PYTHON macroSteven Rostedt2010-06-07
| | | | | | | | | | | | | | | | | | The BUILD_PYTHON macro is added to the CMD_TARGETS which is used also by 'make clean'. This requires that BUILD_PYTHON have the actual files that are built instead of the target names. Reported-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | trace-cmd: quote path definitionsJohannes Berg2010-06-07
| | | | | | | | | | | | | | | | | | Rather than using MAKE_STR(), quote path definitions on the command line so that the preprocessor sees a string already. This avoids problems with path names that aren't valid expressions. Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | trace-cmd: Add PLYTHON_DIR to search path for the python pluginsSteven Rostedt2010-06-07
| | | | | | | | | | | | | | Automate the loading of the PYTHON_DIR to tell the plugins where to load the trace-cmd specific modules. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Install python modules into the trace-cmd python directorySteven Rostedt2010-06-07
| | | | | | | | | | | | Install ctracecmd.so and python helpers into the python directory. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Make a python directory to install toSteven Rostedt2010-06-07
| | | | | | | | | | | | | | Add a python directory under the share/trace-cmd/ directory that can store the libraries needed for PYTHONDIR. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Install plugin_python.so if availableSteven Rostedt2010-06-04
| | | | | | | | | | | | If the plugin_python.so is built, then install it too. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | build: Add test to see if we can build pythonSteven Rostedt2010-06-04
| | | | | | | | | | | | | | Check if python-config works, and if it does, try to build the python code. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* | python pluginJohannes Berg2010-05-25
| | | | | | | | | | | | | | | | | | | | | | | | This adds a python plugin that can in turn load plugins written in python. To make it work, trace-cmd needs to load plugin modules with RTLD_GLOBAL so that the python interpreter's symbols will be available to python C extension modules. Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* | swig: make python module depend on swig fileJohannes Berg2010-05-25
| | | | | | | | | | | | | | | | Just so it's easier to modify the swig file, make it depend on it. Acked-by: Darren Hart <dvhltc@us.ibm.com> Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
* | trace-cmd: Version 1.0Steven Rostedt2010-04-13
|/ | | | Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
* build: Add CROSS_COMPILE for cross-compilationTim Bird2010-04-07
| | | | | | | | | | | | | Adjust Makefile to allow cross-compilation (using CROSS_COMPILE variable) To use, do something like: 'make CROSS_COMPILE=arm-eabi-linux-' and make sure 'arm-eabi-linux-gcc' and friends on on your PATH You can also just set CROSS_COMPILE in your environment variable before calling 'make'. Signed-off-by: Tim Bird <tim.bird@am.sony.com> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>