search for: instruments

Displaying 20 results from an estimated 3210 matches for "instruments".

Did you mean: instrument
2015 Aug 08
2
RFC: PGO Late instrumentation for LLVM
...gt; >> Another much smaller showdown factor is the placement of the counter >> updates. Current front-end based instrumentation applies the >> instrumentation to each front-end lexical construct. It also minimizes the >> number of static instrumentations. Note that it always instruments the >> entry count of the CFG. This may result in higher dynamic instruction >> counts. For example, >> BB0 >> | 100 >> BB1 >> 90 / \ 10 >> BB2 BB3 >> 90 \ / 10 >> BB4 >> Like the the above example, FE based instru...
2015 Aug 10
3
RFC: PGO Late instrumentation for LLVM
...wdown factor is the placement of the counter > >>> updates. Current front-end based instrumentation applies the > instrumentation > >>> to each front-end lexical construct. It also minimizes the number of > static > >>> instrumentations. Note that it always instruments the entry count of > the > >>> CFG. This may result in higher dynamic instruction counts. For example, > >>> BB0 > >>> | 100 > >>> BB1 > >>> 90 / \ 10 > >>> BB2 BB3 > >>> 90 \ / 10 > >&...
2015 Aug 08
3
RFC: PGO Late instrumentation for LLVM
...Non-optimal placement of count update Another much smaller showdown factor is the placement of the counter updates. Current front-end based instrumentation applies the instrumentation to each front-end lexical construct. It also minimizes the number of static instrumentations. Note that it always instruments the entry count of the CFG. This may result in higher dynamic instruction counts. For example, BB0 | 100 BB1 90 / \ 10 BB2 BB3 90 \ / 10 BB4 Like the the above example, FE based instrumentation will always insert count update in BB0. The dynamic instrumentation count will...
2019 Jan 21
2
[X-ray] How to check successful instrumentation and generate call trace?
Hi all, I want to test X-ray performance and compare it with other research tools, so I use Clang 7.0.0 to compile and instrument GNU binutils-2.3.1 with the following commands: cd binutils-2.31/ mkdir build cd build/ CC=$local/clang CXX=$local/clang++ CFLAGS=-fxray-instrument CXXFLAGS=-fxray-instrument ../configure --prefix=/home/zhangysh1995/local make Then I extract instrumentation map
2011 Nov 14
2
[LLVMdev] Re moving the instrumented instructions at runtime
Hello, I have some questions about removing the instrumented instructions at runtime. Assume I instrument some instructions by using some transformation passes. At runtime, I just need those instrumented instructions at the beginning, and I would like to remove instrumented instructions at runtime to reduce overhead. Does anyone know how to do this by using LLVM? Thanks, Bo -- View
2013 Feb 24
2
[LLVMdev] How to measure the overhead of instrumented code
Hello all, I have developed a instrumented pass which insert some variables between the original variables, as well as insert some code into the original source code. just like: ============= original source code ============= int a[10]; void fun1 () { // some source code here } ========================================= ============= instrumented source code ============= int
2016 Jun 16
10
RFC: Comprehensive Static Instrumentation
Hey LLVM-dev, We propose to build the CSI framework to provide a comprehensive suite of compiler-inserted instrumentation hooks that dynamic-analysis tools can use to observe and investigate program runtime behavior. Traditionally, tools based on compiler instrumentation would each separately modify the compiler to insert their own instrumentation. In contrast, CSI inserts a standard
2011 Nov 14
0
[LLVMdev] Re moving the instrumented instructions at runtime
> Assume I instrument some instructions by using some transformation passes. > At runtime, I just need those instrumented instructions at the beginning, > and I would like to remove instrumented instructions at runtime to reduce > overhead. At the beginning of what? You mean at the time of program starup? Then after detecting/collecting whatever you want, you would like to remove
2016 Jun 16
2
RFC: Comprehensive Static Instrumentation
Hey Mehdi, Thank you for your comments. I've CC'd the CSI mailing list with your comments and put my responses inline. Please let me know any other questions you have. Cheers, TB On Thu, Jun 16, 2016 at 3:48 PM, Mehdi Amini <mehdi.amini at apple.com> wrote: > > On Jun 16, 2016, at 9:01 AM, TB Schardl via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >
2004 Apr 07
5
[LLVMdev] Automating Diagnostic Instrumentation
Dear List, I have some questions about some passes for LLVM that I'm thinking about but first I need to give a little background ... One of the things I do in my "day job" (large IT system performance analysis) is to figure out where to place diagnostic instrumentation within an application. The instrumentation I'm talking about here is the kind that is inserted into
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
2016 Jun 17
5
RFC: Comprehensive Static Instrumentation
On Thu, Jun 16, 2016 at 3:27 PM, Mehdi Amini via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Hi TB, > > Thanks for you answer. > > On Jun 16, 2016, at 2:50 PM, TB Schardl <neboat at mit.edu> wrote: > > Hey Mehdi, > > Thank you for your comments. I've CC'd the CSI mailing list with your > comments and put my responses inline. Please let me
2014 May 29
4
[LLVMdev] Unifying TSan blacklist and no_sanitize_thread
...tribute "sanitize_address" to function definition only if this function is not blacklisted. In this case we won't instrument the memory accesses in this function in ASan instrumentation pass, so there's no need to looking at blacklist once again. TSan pass does the following: 1) instruments plain memory accesses 2) instruments atomic accesses 3) instruments memory intrinsics calls. 4) adds function entry/exit callbacks. If a function doesn't have sanitize_thread attribute (e.g. it was annotated with __attribute__((no_sanitize_thread)) ), then it still does (2), (3) and (4). If a...
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
2004 Apr 07
0
[LLVMdev] Automating Diagnostic Instrumentation
Reid, Adding this kind of instrumentation pass would be very valuable in LLVM. We don't have any such thing at present, and there could be multiple uses for it. Joel Stanley did an MS thesis last year that could complement this kind of pass nicely. Joel's thesis was on dynamic performance instrumentation guided by explicit queries within the application (I will forward you a
2016 Mar 22
3
Instrumented BB in PGO
Hello, I have a question regarding PGO instrumented BBs (I use IR-level instrumentation). It seems that instrumented BBs do not match between the two compilations for profile-gen and profile-use for some cases. Here is an example from SPECcpu 2006 lbm (a simple case consisting of just two modules). In the first compilation, we have 5 instrumentation points for the main function as follows: $
2016 Jun 16
4
RFC: Comprehensive Static Instrumentation
I am very glad this project reached the state where we can start the public code review. Please shoot the patches for review when ready. --kcc On Thu, Jun 16, 2016 at 12:14 PM, TB Schardl via llvm-dev < llvm-dev at lists.llvm.org> wrote: > CC'ing the mailing list for the CSI project. > > On Thu, Jun 16, 2016 at 12:01 PM, TB Schardl <neboat at mit.edu> wrote: >
2013 Feb 25
0
[LLVMdev] How to measure the overhead of instrumented code
On 2/24/13 10:07 AM, Lu Mitnick wrote: > Hello all, > > I have developed a instrumented pass which insert some variables > between the original variables, > as well as insert some code into the original source code. just like: > > ============= original source code ============= > > int a[10]; > > void fun1 () { > // some source code here > } > >
2009 Dec 15
2
Instrumental Variables Regression
Hi there, I hope to build a model Y ~ X1 + X2 + X3 + X4 with X1 has two instrumental variable A and B, and X2 has one instrumental variable A. I have searched the R site and mailling list, and known that the tsls() from sem package and ivreg() from AER package can deal with instrumental variable regression, however, I don't know how to formula the model. Any suggestion will be really
2015 Aug 19
3
RFC: PGO Late instrumentation for LLVM
We collected more data to address some of the questions from the reviewers. Note this time we use clang itself as the benchmark. We choose clang because we think it's a typical C++ program and the reviewers here have good knowledge of the code base. What we measure is running time for clang to compile a large preprocessed source file (4.98M lines of .ii file), using different compilation