Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tracecompass-dev] Questions about trace-server TSP API

Hi Guys,


Today I have tried to use TSP API of trace-server. But I got some problems on it.



curl -X POST   http://localhost:8080/tsp/api/traces   -H 'accept: application/json'   -H 'cache-control: no-cache'   -H 'Content-Type: application/json'   -d '{"parameters": {"name":"trace1", "uri":"/home/chiq/kernel-trace", "typeID": " org.eclipse.linuxtools.tmf.core.type.ctf "}}'


Error code:


Error message:

No trace types found to match location /home/chiq/kernel-trace


There are two types of these traces:    1, Linux Kernel Trace

                                                                     2, Generic CTF Trace


What typeID are these traces of TSP API?


Thanks for your help.




Back to the top