Boost logo

Boost-Build :

From: Khassapov, Alex (Alex.Khassapov_at_[hidden])
Date: 2008-03-24 22:55:11


If not, I wonder if anybody would have an idea how to implement dtrace
in bjam?

 

Problem is that dtrace is like a 'pre-link' step - it runs on projects'
object files and also produces additional object file. And it takes a
".d' script as source. So I need to get object files from my project,
pass them to dtrace and then add generated object file back to my
project.

 

It looks like I can't just create a generator for ".d' scripts because
it takes a list of object files as sources in addition to ".d' script?

 

In some projects we run dtrace only on some object files, not all.

Here's an example how we use dtrace in Automake:

 

its_order_server_LDADD += probes.o

its_order_server_DEPENDENCIES = probes.o

EXTRA_its_order_server_SOURCES = probes.d

 

probes.o: $(its_order_server_OBJECTS)

            /usr/sbin/dtrace -G -32 -s probes.d
$(its_order_server_OBJECTS:.lo=.o)

 

________________________________

From: boost-build-bounces_at_[hidden]
[mailto:boost-build-bounces_at_[hidden]] On Behalf Of Khassapov,
Alex
Sent: Tuesday, 25 March 2008 1:34 PM
To: boost-build_at_[hidden]
Subject: [Boost-build] Anybody implemented dtrace?

 

 

 

Hi all,

 

Have anybody implemented dtrace stuff in bjam?

Best Regards

Alex Khassapov

Senior Software Engineer
ITG Australia Ltd
Level 3, Rialto North Tower
525 Collins Street
Melbourne VIC 3000
Ph. +61 3 9211 2543
Fax. +61 3 9211 2599

www.itg.com <http://www.itg.com/>

************************************************************************
****

The information contained in this communication is strictly confidential
and intended solely for the use of the intended recipient(s). The
copyright in this communication belongs to ITG Australia Ltd, ITG Hong
Kong Limited, ITG Japan Limited and/or their related entities, including
Investment Technology Group, Inc., (collectively referred to as "ITG")
and may contain information that is private, confidential or subject to
legal professional or other privilege. No confidentiality or privilege
is waived or lost by any mis-transmission of this email.

Access to this email by anyone other than the intended recipient is
unauthorized and further distribution of this email is strictly
prohibited without the permission of ITG. If you are not the intended
recipient of this email, any review, disclosure, copying, distribution,
retention or any action taken or omitted to be taken in reliance on it
is prohibited and may be unlawful. If you are not the intended
recipient of this email, you should not disseminate, distribute or copy
this e-mail and you should delete it and all copies of it from your
system, destroy any hard copies of it and notify the sender. ITG and/or
its affiliates reserve the right to monitor and archive all electronic
communications through its/their network.

The information contained in this email is believed to be accurate at
the time of publication. However, ITG disclaims all responsibility for
any loss or damage howsoever arising as a result of any person or entity
acting upon the information contained in this email and no liability
will be accepted by ITG for any such loss or damage. Any views
expressed in this email are those of the individual sender, except where
the email states otherwise and the sender is authorized to state them to
be the views of ITG.

 

************************************************************************
*****

 



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk