Re: operf equivalent of --save?

Michael Petlan <[email protected]>
Newsgroups gmane.linux.oprofile
Message-ID <[email protected]>
Hi Jon,

there is no "--save" option in operf, you can only use the "--session-dir"
option ("-d" in short form). It does almost the same thing, since opcontrol
legacy mode stores data in /var/lib/oprofile/samples/<session>, where the
default one is "current" and when you do the "opcontrol --save=something",
opcontrol just moves the /var/lib/oprofile/samples/current directory to
/var/lib/oprofile/samples/something. So generally, it's almost the same
thing as using the operf's "--session-dir" option.

Regards,

Michael Petlan


----- Mensaje original -----
> De: "Jon Weisz" <[email protected]>
> Para: [email protected]
> Enviados: Jueves, 19 de Febrero 2015 0:54:20
> Asunto: operf equivalent of --save?
> 
> Hello,
> Is there any equivalent of the opcontrol --save for the operf command?
> 
> I am trying to measure changes in the cpu usage over time as my system
> proceeds through different phases. Right now, I'm killing operf in a bash
> script and restarting it with a different output directory, but this seems
> somehow wasteful and inelegant compared with the previous interface.
> 
> Thanks,
> Jon Weisz
> Columbia University Robotics Group
> 
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> oprofile-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/oprofile-list
> 

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.