Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] Help on LLVM Instrumentation"
2005 Oct 16
2
[LLVMdev] Help on LLVM Instrumentation
Hi ,
I am using LLVM for my Post Graduate course project on Optimization. I am trying to do some insrtumentation to the bytecode.I 've been going through your Instrumentation code for the past few days in /llvm/lib/Transforms/Instrumentation folder and finally found two ways of instrumentation :
1) injecting LLVM bytecode instructions
2) calling an external C function.
I am trying both and
2013 Jun 24
2
[LLVMdev] Questions on writing a pass that adds instrumentation code
I'm an LLVM newbie, trying to write a pass that adds instrumentation to
a program, and have a couple of questions.
For purposes of this discussion, suppose I'm trying to add a
per-function counter that is incremented each time a function is called.
At the end of the target program's execution, I would like to output the
value of each counter.
My questions are as follows:
1.
2013 Mar 21
0
[LLVMdev] (Not) instrumenting global string literals that end up in .cstrings on Mac
Alexander,
On Darwin the "__cstring" section (really section with type S_CSTRING_LITERAL) is defined to contain zero terminate strings of bytes that the linker can merge and re-order. If you want pad bytes before and after the string, you need to put the strings in a different section (e.g. __TEXT, __const).
But, CF/NSString literals will be problematic. The compiler emits a static
2013 Mar 21
2
[LLVMdev] (Not) instrumenting global string literals that end up in .cstrings on Mac
(forgot to CC llvmdev)
On Thu, Mar 21, 2013 at 5:54 PM, Alexander Potapenko <glider at google.com> wrote:
> Hey Anna, Nick, Ted,
>
> We've the following problem with string literals under ASan on Mac.
> Some global string constants end up being put into the .cstring
> section, for which the following rules apply:
> - the strings can't contain zeroes in their
2005 Nov 02
1
[LLVMdev] Runtime optimization and other doubts
Hi ,
Regarding my previous help on LLVM Instrumentation , gdb helped me out.
Your docs on Writing an LLVM Pass - Using gdb with dynamically loaded
passes was very useful.
I've done some instrumentation and collected profiles during runtime using
library routines in a separate pass with opt tool.
I used :
In the tools/lli/Makefile , I included the following line
TOOLLINKOPTS :=
2008 Jan 10
0
Can I create Virtual Machine through Xen java API
Is it there any possibility to create virtual machine by using the XEN java
API ?
>From where can I get the proper documentation for Xen Java API.??
Thanks is advance
Rajiv .R
Project Associate
CARE,MIT,
Anna university,
Chennai
India
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
2010 Aug 16
1
Whether libguestfs work only with 32bit processors
Hi
I have installed libguestfs in Fedora Core 13. Here's the packages I ve
installed.
[root at kvmcluster ~]# rpm -qa | grep guest
guestfish-1.2.2-1.fc13.i686
perl-libguestfs-1.2.2-1.fc13.i686
libguestfs-1.2.2-1.fc13.i686
libguestfs-tools-1.2.2-1.fc13.i686
And I have tried to resize the KVM guest image with virt-resize command. But
I'm getting the error as "virt-resize: sorry this
2010 Jul 15
0
How to create a guest os from existing disk image file
Hi
I have configured KVM with Fedora Core 13 by enabling the KVM virtualization
option while installing OS.
I have successfully created the guest OS by using the virt-install API
/usr/sbin/virt-install --name centos5 --ram 512 --disk
path=/var/lib/libvirt/images/
centos.img,size=5 --network network:default --accelerate --vnc -c
/tmp/CentOS-5.3-i386-bin-DVD.iso
I am able to login to the guest OS
2004 Apr 07
0
[LLVMdev] Automating Diagnostic Instrumentation
On Wed, 7 Apr 2004, Reid Spencer wrote:
> (2) Would it be useful to turn the call graph data ino a pretty picture
> via graphviz (both statically and dynamically) ?
Sure: analyze -print-callgraph foo.bc
> (3) How much of this auto-instrumentation pass is already written in
> existing passes?
There are various instrumentation passes already in LLVM, for example, to
trace
2014 Nov 12
2
Query: SELECT "INBOX" permission denied
Yesterday I was forced to migrate servers due to a hardware failure. I
have been able to bring up my mail server, and set up Squirrelmail and
Dovecot. I am able to access (via Squirrelmail) all users' mail except
one - which happens to be my wife's, so it would be really helpful if I
could get that working too. I am able to log in, but see the following
message in the main pane:
2014 Mar 14
2
[LLVMdev] RFC: Binary format for instrumentation based profiling data
On Thursday, March 13, 2014, Diego Novillo <dnovillo at google.com> wrote:
>
> On Mar 13, 2014 6:57 PM, "Bob Wilson" <bob.wilson at apple.com<javascript:_e(%7B%7D,'cvml','bob.wilson at apple.com');>>
> wrote:
>
> >
> > This is a proposal for the instrumentation-based approach that I talked
> about at the dev meeting. I
2016 Dec 13
2
Reining in profile instrumentation
When either '-pg' or '-finstrument-functions' is used, the compiler inserts
the appropriate profiling hooks. This happens prior to inlining, so the
hooks remain in place.
Normally this is fine, but with C++ and the heavy use of inline functions
and templates, there can be a vast number of trivial functions that are
normally optimised away; but with the instrumentation hooks
2016 Jun 16
0
RFC: Comprehensive Static Instrumentation
We've just released the project code for public review. You can find the
diffs at the following links:
CSI LLVM pass: http://reviews.llvm.org/D21445
CSI Clang support: http://reviews.llvm.org/D21446
CSI Runtime and tests: http://reviews.llvm.org/D21447
The RST for the CSI project can be found with the Clang diff.
We know that this code requires changes, additions, more tests, cleanup,
etc.
2014 Sep 01
2
[LLVMdev] Instrumenting Various Types Using Single Instrumentation Function
Hi All,
My instrumentation code needs to insert calls to transmit Value list. Each
element in this list could be of different type. The list is sent to
instrumenting function say void recordVarInputValues(int num, ...) . So, I
have created a Union type in Tracing.cpp, which I link with my benchmark
module at compile time. These steps are similar to giri instrumentation
2009 Aug 11
0
sub-architecture installation difficulty with various valgrind-instrumentation levels
"R Installation and Administration", section 2.5 "Sub-architectures" describes
calling specific builds of R using the call "R --arch=name". I am trying to
build and install three versions of R-2.9.1, each configured with a different
valgrind-instrumentation level ("Writing R Extensions", section 4.3.2 "Using
valgrind"). My goal is to be able to
2016 Dec 13
0
Reining in profile instrumentation
> On Dec 13, 2016, at 3:46 AM, Martin J. O'Riordan via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> When either ‘-pg’ or ‘-finstrument-functions’ is used, the compiler inserts the appropriate profiling hooks. This happens prior to inlining, so the hooks remain in place.
Have you tried compiling with -fprofile-generate? It enables IR-based profiling
instrumentation, which
2016 Dec 19
1
Reining in profile instrumentation
Thanks Vedant, and my apologies for the delay getting back to you - work got "busy".
I wasn't aware of the '-fprofile-generate' option, so thanks for point this out. I have tried running it and I can see the instrumentation hooks that it generates - I assume that there is a library I have to implement to support this, can you let me know where the source for this library
2011 Dec 09
0
[LLVMdev] LLVM instrumentation overhead
On 12/7/11 4:51 PM, Nipun Arora wrote:
> Hi,
>
> I need to write a transform pass which instruments the target program to
> output the name of each function executed, and the rdtsc counter along
> with it.
Doing this in LLVM is really straightforward. You simply iterate
through all the functions in a module and add instructions to their
entry basic blocks to do whatever it is
2013 Jun 13
0
[LLVMdev] LLVM instrumentation
Hello everyone,
I want to use LLVM to perform instrumentation on existing bitcode file. I
want to declare a global variable using cpp standard library, say
vector<int> glVector(3);
So I need to get the LLVM Type* of the global variable and then the initial
value Constant* of the global variable. However, the type of vector is not
the primitive type but defined in the vector.h of C++
2011 Mar 21
1
[LLVMdev] Efficient instrumentation of loads and stores
Hello, I'd like to listen your opinions regarding my research with LLVM.
My work is a dynamic analysis of data dependences [1]. Briefly speaking, I'm
instrumenting memory loads/stores and loop entries/exits/back edges, and
then calculating data dependences in runtime, especially focusing on
loop-carried dependences.
So far, I have been working with a binary-level instrumentation tool