|
From: Josef W. <Jos...@gm...> - 2005-05-12 14:40:21
|
On Wednesday 11 May 2005 22:23, Harry Mangalam wrote: > Answering my own post - > it's called op2calltree in the converters subdir of kcachegrind > ^^^^ > a leftover from when callgrind was called calltree. Hi, the "calltree" in "op2calltree" refers to the format, which is called by the tool which first generated the format, which was calltree. So there is not really a connection between this converter script and callgrind. I did not want to call it "cachegrind" format, as it contains a few extensions. As this format is created by cachegrind, calltree, callgrind, and now even cover, we could search for another name. Ideas? It is more or less simply a ASCII format to relate tuples of 64bit-integers to source positions. As it is used in the context of an executed program, it contains profile information. But perhaps it is best to call it CG-format (for cachegrind or callgrind), and thus call the converter "op2cg". Josef > > Sorry for the noise. > hjm > > > > Harry Mangalam wrote: (before looking arefully..) > > > The KCachegrind docs refer to an app called "op2callgrind" to tranlating > > oprofile information to data compatible with kcachegrind. I've not been > > able to find it via google and it does not appear to be in the oprofile > > source tree, nor the callgrind source tree nor the kcachegrind source > > tree. > > Did I miss something? Does anyone have any further info on it? > > > > > > <quote> > > System wide profiling is only permitted to the root user, as all actions > > on the system can be observed. Therefore, the following has to be done as > > root. First, configure the profiling process, using the GUI oprof_start > > or the command line tool opcontrol. Standard configuration should be > > timer mode (TBS, see introduction). To start the measurement, run > > opcontrol -s. Then run the application you are interested in, and > > afterwards, do a opcontrol -d. This will write out the measurement > > results into files under directory /var/lib/oprofile/samples/. To be able > > to visualize the data in KCachegrind, do in an empty directory: > > > > > > opreport -gdf | op2callgrind > > > > This will produce a lot of files, one for every program which was running > > on the system. Each one can be loaded into KCachegrind on its own. > > </quote> > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by Oracle Space Sweepstakes > > Want to be the first software developer in space? > > Enter now for the Oracle Space Sweepstakes! > > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Valgrind-users mailing list > Val...@li... > https://lists.sourceforge.net/lists/listinfo/valgrind-users |