lttng-ust:ust/callsite

Last commit made on 2012-10-23
Get this branch:
git clone -b ust/callsite https://git.launchpad.net/lttng-ust

Branch merges

Branch information

Name:
ust/callsite
Repository:
lp:lttng-ust

Recent commits

a912815... by Christian Babeux <email address hidden> on 2012-10-23

Fix: Fix self-assign warning on struct ustfork_clone_info init

Use the proper field designator syntax (C99) to initialize the
ustfork_clone_info struct.

Signed-off-by: Christian Babeux <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

e8e0540... by Mathieu Desnoyers on 2012-10-16

callsite: add "ip" context

Add caller's instruction pointer context.

Signed-off-by: Mathieu Desnoyers <email address hidden>

9dcd5e6... by Mathieu Desnoyers on 2012-10-16

callsite: move after the call

move after the call so that the address sampled matches, typically, the
return address of the tracepoint callee.

Signed-off-by: Mathieu Desnoyers <email address hidden>

a818861... by Mathieu Desnoyers on 2012-10-16

callsite: extract instruction pointer from call sites

Signed-off-by: Mathieu Desnoyers <email address hidden>

6d3ba46... by Mathieu Desnoyers on 2012-10-16

Merge branch 'master' into ust/callsite

Signed-off-by: Mathieu Desnoyers <email address hidden>

1c7b4a9... by Mathieu Desnoyers on 2012-10-09

Fix: memcpy of string is larger than source

Hollis Blanchard <email address hidden> wrote:
> I seem to have hit a little problem with a "hello world" test app and
> lttng-ust 2.0.3. lttng-ust.git seems to be affected as well. Basically,
> I created a single UST tracepoint, but as soon as I run "lttng
> enable-event -u -a", my app segfaults. The problem seems to be that when
> creating the event to pass to ltt_event_create(), we try to memcpy the
> full 256 bytes of name. However, the name might be shorter, and if we
> get unlucky it falls within 256 bytes of the segment boundary...

Fixing the 3 sites where this issue arise. Manually inspecting all
memcpy in the UST code returned by grep did the job.

Reported-by: Hollis Blanchard <email address hidden>
Signed-off-by: Mathieu Desnoyers <email address hidden>

38936cf... by Mathieu Desnoyers on 2012-10-05

Implement liblttng-ust-fork daemon() override test

Signed-off-by: Mathieu Desnoyers <email address hidden>

2f6150e... by Mathieu Desnoyers on 2012-10-05

liblttng-ust-fork: override daemon() call

Fixes #252

Signed-off-by: Mathieu Desnoyers <email address hidden>

3678c8a... by Mathieu Desnoyers on 2012-10-05

ustfork: set errno to ENOSYS if symbol lookup fails

Signed-off-by: Mathieu Desnoyers <email address hidden>

c433c3c... by Mathieu Desnoyers on 2012-10-03

Fix: be quiet on filter linker error

Could be reproduced by starting the application before enabling the
event with filter.

Fixes #362

Signed-off-by: Mathieu Desnoyers <email address hidden>