summaryrefslogtreecommitdiffstats
blob: 60b59d2559cd938bb2ca105eb128fdd3f437b35a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
ctprof_srv  

Version 1.0
Release Date: 7/32/2013 

Description
===========

Ctprof provides system level bus profiling use cases for any slave in the
device that has a CP Tracer. Ctprof is made up of two components; ctprof
which is the host client application, and ctprof_srv which is the target
server application. The client is delivered with TI's CCS emupacks (see
System Requirements for minimum emupack revision for this release) and can be
installed independent of CCS. The server is delivered as source with an example
application which also contains a small "C" file that can be integrated with
your application for coordinating collection activity with ctprof_srv.

Organization
============

The ctools_srv project is delivered as source in three directories:

    server
    common
    example_app

Both the server and example_app have makefiles. 

Make & Installation
===================

If using SC-MCSDK 02.02.00 then ctprof_srv and ctprof_ex should be
pre-installed in the /usr directory. Otherwise:

The server and example_app directories contain makefiles that utilizes the
CROSS_COMPILE environment variable. Both release and debug versions can be made. 
The executable is saved in the release or debug directories. 

Examples:

make clean debug
make clean release
make clean release install DESTDIR=/your/favorite/utility/dir
make clean all (make both the debug and release versions)

Typically the executable files will need to be copied to the appropriate target
system's Linux bin directory.

System Requirements
===================

- A Host Linux machine (Ubuntu 10.4 or higher) with emupack 5.1.NNN.0 installed.
- A TCI6414 EVM or equivalent target system with a working network connection
  (TCP is used).
- Requires the SC-MCSDK 02.02.00 Linux image.

Documentation
=============

The server should simply be run in the background from the console:

$ctprof_srv &

Use -h to see options.

The client is then used from a host to connect to the server and issue
use case commands (like measure utilized bandwidth or latency of a specific
slave) that are serviced by ctprof_srv through a socket interface. 

See http://processors.wiki.ti.com/index.php/CToolsLib/ctoolsprof for
documentation and examples.

History
=======

July 31/2013 - First release


Known Deficiencies
==================

Enhancements & New Features
===========================

Bug Fixes
=========

End of Document