Displaying 20 results from an estimated 60000 matches similar to: "[XRay][RFC] Tooling for XRay Trace Analysis"
2016 Sep 09
2
[XRay][RFC] Tooling for XRay Trace Analysis
> On 7 Sep 2016, at 01:21, David Blaikie <dblaikie at gmail.com> wrote:
>
> (sorry for the delay)
>
All good, thanks Dave!
> On Tue, Aug 23, 2016 at 1:05 AM Dean Michael Berris <dean.berris at gmail.com <mailto:dean.berris at gmail.com>> wrote:
> Hi llvm-dev,
>
> I've been implementing a tool for analysing XRay traces. A recap of XRay's
2016 Nov 30
5
RFC: XRay in the LLVM Library
Hi llvm-dev,
Recently, we've committed the beginnings of the llvm-xray [0] tool which allows for conveniently working with both XRay-instrumented libraries as well as XRay trace/log files. In the course of the review for the conversion tool [1] which turns a binary/raw XRay log file into YAML for human consumption purposes, a question arose as to how we intend to allow users to develop tools
2016 Sep 09
2
[XRay][RFC] Tooling for XRay Trace Analysis
On Thu, Sep 8, 2016 at 11:34 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
>
> > On 9 Sep 2016, at 12:35, Dean Michael Berris <dean.berris at gmail.com>
> wrote:
> >
> >
> >
> >> On 7 Sep 2016, at 01:21, David Blaikie <dblaikie at gmail.com> wrote:
> >>
> >> But I take it you mean (as detailed later) to have a
2016 Nov 30
0
RFC: XRay in the LLVM Library
Hi Dean,
I haven't looked very closely at XRay so far, but I'm wondering if making CTF (common trace format, e.g. see http://diamon.org/ctf/) the default format for XRay traces would be useful?
It seems it'd be nice to be able to reuse some of the tools that already exist for CTF, such as a graphical viewer (http://tracecompass.org/) or a converter library
2019 Jan 07
2
[Xray] Help with Xray
On Mon, Jan 7, 2019 at 3:21 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
> On Mon, Jan 7, 2019 at 8:43 PM Dangeti Tharun kumar
> <cs15mtech11002 at iith.ac.in> wrote:
> >
> > Hi Dean,
> >
> > I have tried with -instr-map-1 and -instr-map-2, it didn't work.
> >
>
> Yeah, I'm looking through the code and it looks like
2018 Feb 15
2
RFC: XRay Profiling in LLVM
# Objective
Implement an XRay mode 'xray-profiling' that gathers stack trace
latencies/durations and builds histograms to provide basic statistics about
where time is going in an execution of the application.
# Background
XRay has two modes currently implemented in compiler-rt: a basic (nee
naive) mode and flight data recorder (FDR) mode.
Basic mode logging, when enabled, will collect
2019 Feb 02
2
[llvm-xray] llvm-xray cannot log every functions
Hi there,
I have a problem using the function call tracing tools that is designed in llvm tools set. My aim is to record every function call that a program makes when it run. However, for whatever reason, a simple matrix multiply c program that I wrote cannot record all the function calls that happened when the program run.
Here is the program: matrix.c
#include <stdio.h>
void
2018 Mar 27
0
RFC: XRay Profiling in LLVM
FYI: Patch is now available for review in https://reviews.llvm.org/D44620.
On Thu, Feb 15, 2018 at 1:34 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
> # Objective
>
> Implement an XRay mode 'xray-profiling' that gathers stack trace
> latencies/durations and builds histograms to provide basic statistics about
> where time is going in an execution of the
2017 Dec 05
2
[cfe-dev] XRay Trace of Clang, Loadable through Chrome Trace Viewer
Sent from my iPhone
> On 6 Dec 2017, at 4:17 am, Brian Cain <brian.cain at gmail.com> wrote:
>
>
>
>> On Tue, Dec 5, 2017 at 9:49 AM, Dean Michael Berris via cfe-dev <cfe-dev at lists.llvm.org> wrote:
>> Hi cfe-dev@ and llvm-dev@,
>>
>> I've attached a Chrome trace-viewer readable trace of a clang built with XRay instrumentation (additional
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
> On 20 Jul 2016, at 20:02, C Bergström <cbergstrom at pathscale.com> wrote:
>
> Some general questions about X-Ray
> -------------
> Is there a plan to make a separate mailing list or project around
> this? Do you have a list of planned features?
Interesting question -- so far we haven't decided yet whether XRay will live as another project. I'm certainly open to
2016 Aug 26
2
[XRay][RFC] Tooling for XRay Trace Analysis
> On 26 Aug 2016, at 03:26, Chris Bieneman <cbieneman at apple.com> wrote:
>
> I totally did not mean to make the response off list.
>
Thanks Chris, I'm adding the list to this response. Those interested should see the short discussion quoted below.
Adding Chandler explicitly for points raised by Chris below. Thoughts?
Cheers
-- Dean
>
>> On Aug 24, 2016, at
2016 Jul 20
2
[XRay] Build instrumented Clang, some analysis results
Hi everyone,
TL;DR: With current pending patches applied in compiler-rt and llvm, and trunk clang, you can build your application with XRay tracing enabled on Linux with tracing enabled before main starts, and logging stops when the main thread exits.
Just a quick update, I have some patches under review that when applied cleanly to LLVM and compiler-rt allows for building applications with XRay
2016 Jul 04
4
[XRay] RFC: LLVM-side Changes for nop-sleds
Hi llvm-dev (cc google-xray),
As a follow-up to the first XRay RFC [0] introducing the technology, I've
been able to recently implement a functional prototype of the major parts
of the XRay functionality [1]. This RFC is limited to exploring potential
alternatives to the current LLVM-side changes, with the interest of getting
clear guidance for landing the changes first in LLVM.
Background /
2017 Dec 05
2
XRay Trace of Clang, Loadable through Chrome Trace Viewer
Hi cfe-dev@ and llvm-dev@,
I've attached a Chrome trace-viewer readable trace of a clang built with XRay instrumentation (additional build/link flags="-fxray-instrument -fxray-instruction-threshold=75") with the latest "top-of-trunk" version of clang with the recent updates to the XRay runtime supporting record filtering.
To load the attached file, go to
2018 Jun 07
2
XRay TID mismatch when forking
Hello,
There seems to be a bug with the value of the thread ID (TID) that is
generated by XRay when calling fork(). The value of the TID of the child
has the same TID as its parent (this is seen in the “thread: “ field of the
YAML output produced by the llvm-xray tool). This is a problem as the trace
generated contains the same TID for the parent and children processes,
making it difficult to
2019 Jan 07
2
[Xray] Help with Xray
Hi Dean,
I have tried with -instr-map-1 and -instr-map-2, it didn't work.
Is there a way to find the function name from the identifier?
-DTharun
On Mon, Jan 7, 2019 at 2:29 PM Dean Michael Berris <dean.berris at gmail.com>
wrote:
> Hi Dangeti,
>
> That's interesting -- can you try providing both `-instr-map-1=` and
> `-instr-map-2=` even though they're the same
2018 Mar 11
1
Using Xray compilation with C programs
Hi all,
I was interested in trying out the Xray profiling component in LLVM and was
trying to compile a C program with Clang with Xray flags. Unfortunately, I
keep getting a linker error everytime I try to compile the C program with
Clang. However, the error goes away when I try to compile the same C
program with Clang++ with -xc++ flag.
Searching around for this issue, looks like somebody has
2017 Jan 26
2
Critical XRay fixes for Arm32
I'm wondering why the lit tests didn't catch this as part of testing rc1 on ARM.
On Thu, Jan 26, 2017 at 11:25 AM, Serge Rogatch <serge.rogatch at gmail.com> wrote:
> XRay is tested automatically on build-bots with tests in LLVM and
> compiler-rt . Or are you asking for manual testing instructions?
> Of these 2 patches, the compiler-rt patch depends on LLVM patch because
2018 Dec 06
2
Source locations missing when using xray-account
Hi David,
Sorry for taking a few days to reply. It's not easy for you to compile
a Haskell file to see the problem as the debug information is still
WIP. Below I prove the IR for a simple hello world program which you
can feed into llc.
https://gist.github.com/05296933e37e87533a51d493b46aa48d
The `out.ir` file can be passed straight to `llc`.
Can you see anything obviously wrong?
Matt
2017 Jan 26
2
Critical XRay fixes for Arm32
I see. Thanks for clarifying.
I'm Ok with merging these if Dean agrees, as I believe he's the code owner.
Thanks,
Hans
On Thu, Jan 26, 2017 at 11:47 AM, Serge Rogatch <serge.rogatch at gmail.com> wrote:
> There were no LLVM tests for presence of XRay instrumentation map in the
> emitted assembly. You can see that https://reviews.llvm.org/D28624 adds this
> check to the