projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add process_fork process_exit in core.xml
[lttv.git]
/
ltt
/
branches
/
poly
/
ltt
/
tracefile.c
diff --git
a/ltt/branches/poly/ltt/tracefile.c
b/ltt/branches/poly/ltt/tracefile.c
index e742285468368a76272fff78d6a73d7201926cd6..4f10f0829e79c54bd52f4484e02bd493ee90f7b1 100644
(file)
--- a/
ltt/branches/poly/ltt/tracefile.c
+++ b/
ltt/branches/poly/ltt/tracefile.c
@@
-551,7
+551,7
@@
unsigned ltt_trace_facility_find(LttTrace *t, char *name, unsigned *position)
{
int i, count=0;
LttFacility * f;
{
int i, count=0;
LttFacility * f;
- for(i=0;i
=
t->facility_number;i++){
+ for(i=0;i
<
t->facility_number;i++){
f = (LttFacility*)g_ptr_array_index(t->facilities, i);
if(strcmp(f->name,name)==0){
count++;
f = (LttFacility*)g_ptr_array_index(t->facilities, i);
if(strcmp(f->name,name)==0){
count++;
@@
-654,7
+654,7
@@
int ltt_trace_per_cpu_tracefile_find(LttTrace *t, unsigned i)
LttTracefile *ltt_trace_control_tracefile_get(LttTrace *t, unsigned i)
{
LttTracefile *ltt_trace_control_tracefile_get(LttTrace *t, unsigned i)
{
- return (LttTracefile*)g_ptr_array_index(t->
per_cpu
_tracefiles, i);
+ return (LttTracefile*)g_ptr_array_index(t->
control
_tracefiles, i);
}
LttTracefile *ltt_trace_per_cpu_tracefile_get(LttTrace *t, unsigned i)
}
LttTracefile *ltt_trace_per_cpu_tracefile_get(LttTrace *t, unsigned i)
This page took
0.023816 seconds
and
4
git commands to generate.