| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
* runtime/uprobes/uprobes_ppc.c (calc_offset): Fix printk types.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
do_div accepts unsigned 64-bit integer type for dividend, signed types
would cause do_div's typecheck fail:
stat-common.c: In function 'needed_space':
stat-common.c:50: error: comparison of distinct pointer types lacks a cast
...same errors in time.c and tapset-timers.cxx's generated code...
A fix for time.c is special, on ppc32 cycles_t is 32-bit, so technically
we don't need do_div, but since the whole _stp_gettimeofday_ns() operates
on 64-bit types we'd better be safe and use uint64_t for the math.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Currently staprun fails at send_relocation_kernel(), this is because
ppc32 doesn't have ".__start" symbol. I think we should use _stext,
just as other arches.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
_div64 and _mod64 arch-specific details were taken from gcc/longlong.h,
just as it was done for i386.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* runtime/copy.c: Can use ppc64's code.
* runtime/regs.h: Ditto.
* runtime/string.h: Ditto.
* tapset/context.stp: Ditto.
* tapset/errno.stp: Ditto.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tapset/nd_syscalls.stp: Implement ppc32 variant of __is_user_regs.
* tapset/syscalls.stp: Ditto.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Get rid of magic numbers, use appropriate defines from ptrace.h.
From now on stack-ppc.c should be suitable for ppc32.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | | |
There should be no functional changes in this patch.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The code *looks* generic enough, so I think it can be used for ppc32
without modifications.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
|
| |/ |
|
| |
| |
| |
| |
| |
| | |
* doc/SystemTap_Tapset_Reference/tapsets.tmpl: Add string.stp chapter.
* tapset/string.stp: Convert documentation to standard markup and add
documentation that was missing.
|
| |
| |
| |
| |
| |
| | |
* grapher/Graph.cxx (draw): Draw tick labels (times) below the graph.
* grapher/grapher.cxx (main): Open main window with a size big enough
to display an entire graph.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the graph display is paused, leaving the mouse stationary over
the graph will display the data point under the pointer.
* grapher/CairoWidget.hxx (CairoTextBox): new class
(CairoWidget, CairoPlayButton): refector some play button-specific
things from CairoWidget to CairoPlayButton.
* grapher/CairoWidget.cxx (CairoTextBox::draw): new function.
* grapher/GraphWidget.hxx (GraphWidget): new members for supporting
hover text.
* grapher/GraphWidget.cxx (on_motion_notify_event): Set up hover text box.
(establishHoverTimeout, onHoverTimeout, getGraphUnderPoint): new functions.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* grapher/Graph.hxx (Graph): Change variables holding the time limits
of the displayed graph from double to int64_t.
* grapher/Graph.cxx (Graph::draw): Do calculations of time differences
using int64_t.
(Graph::getExtents, Graph::setExtents): Change left and right
arguments to int64_t.
* grapher/GraphData.hxx (GraphDataBase): Change time type to int64_t.
(GraphDataBase::elementAsString): New function.
(GraphData::elementAsString): Implementation of that function.
* grapher/StapParser.cxx (parseData): Parse time values from the stap
script as 64 bit values.
|
| |
| |
| |
| |
| | |
* tapset/scheduler.stp (__scheduler.kthread_stop.kp): Change
priority to prio.
|
| |
| |
| |
| | |
build in older versions of Publican, use old-syncandbuild.sh
|
| |
| |
| |
| | |
build in older versions of Publican, use old-syncandbuild.sh
|
| |
| |
| |
| | |
build in older versions of Publican, use old-syncandbuild.sh
|
| |
| |
| |
| | |
build in older versions of Publican, use old-syncandbuild.sh
|
| |
| |
| |
| | |
build in older versions of Publican, use old-syncandbuild.sh
|
| |
| |
| |
| |
| | |
* runtime/itrace.c (usr_itrace_report_signal): On modern utrace,
must check/propagate utrace_signal_action().
|
| |
| |
| |
| |
| | |
* runtime/alloc.c (_stp_alloc_percpu): Refuses to allocate too much percpu
memory.
|
| | |
|
| |
| |
| |
| |
| | |
* runtime/staprun/staprun_funcs.c (assert_stap_module_permissions): Mark
parameters unused.
|
| | |
|
|/ |
|
|
|
|
| |
due to recent commits.
|
|\ |
|
| |
| |
| |
| | |
* util.cxx (in_group_id): Replace NULL with 0.
|
| |
| |
| |
| | |
* util.cxx (in_group_id): Don't use NGROUPS_MAX.
|
|/
|
|
| |
canonicalizing /lib/modules/KVER/systemtap.
|
|\ |
|
| | |
|
| |
| |
| |
| |
| | |
* loc2c.c (alloc_location, location_from_address, c_translate_constant):
Initialize ops and nops fields.
|
| |
| |
| |
| |
| | |
* runtime/sym.c (_stp_tf_mmap_cb): Only look for first load of whole module
that is executable. Add check for detecting reloading of module.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
group owner of the uprobes buld directory to build uprobes.ko.
- When building uprobes.ko, make all generated files writable by the group
owner of the uprobes build directory.
- Don't change the group owner of the uprobes build directory during
'make install'
|
|\| |
|
| |\ |
|
| | |
| | |
| | |
| | | |
limited to members of stapusr.
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | | |
Conflicts:
configure
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/SystemTap_Tapset_Reference/Makefile.am: Check for file existence
before doing compare.
* doc/SystemTap_Tapset_Reference/Makefile.in: Regenerated.
* tapset/ioblock.stp: Fixed comment so that docs can be built.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* testsuite/systemtap.base/cu-decl.exp: Check utrace.
* testsuite/lib/stap_compile.exp: Make catch after wait.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tapset/ioblock.stp: Update comment and variables.
* testsuite/buildok/ioblock_test.stp: Add parameters.
* testsuite/buildok/ioscheduler.stp: Remove redundant parameters.
|
| | |
| | |
| | |
| | |
| | | |
Added testcases for these probes.
Also, modified comments in ioblock.stp so that tapset docmentation can be automatically generated for this tapset.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In 2.6.32-rc7, there are two power.h tracepoints headers, and only the
one in trace/events/ is valid. In general, we can expect that
trace/events/ has newer headers, so we should search those first.
* tapsets.cxx (tracepoint_builder::init_dw): Search /events/ first.
|