projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
start changes for irq resource monitoring
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
gui
/
interrupts
/
interrupts.c
diff --git
a/ltt/branches/poly/lttv/modules/gui/interrupts/interrupts.c
b/ltt/branches/poly/lttv/modules/gui/interrupts/interrupts.c
index 35011cb4a37b34542a88bd738dfc11582ec6fea4..035767136a969cee86693e6fa76355bf9dc7949c 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/gui/interrupts/interrupts.c
+++ b/
ltt/branches/poly/lttv/modules/gui/interrupts/interrupts.c
@@
-134,7
+134,7
@@
enum type_t {
static GSList *interrupt_data_list = NULL ;
static GSList *interrupt_data_list = NULL ;
-#define TRACE_NUMBER 0
+
//fixed
#define TRACE_NUMBER 0
typedef struct _InterruptEventData {
typedef struct _InterruptEventData {
@@
-447,8
+447,8
@@
static void FirstRequest(InterruptEventData *event_data )
nb_trace = lttv_traceset_number(traceset);
/* There are many traces in a traceset. Iteration for each trace. */
nb_trace = lttv_traceset_number(traceset);
/* There are many traces in a traceset. Iteration for each trace. */
- for(i = 0; i<MIN(TRACE_NUMBER+1, nb_trace);i++)
- {
+ //for(i = 0; i<MIN(TRACE_NUMBER+1, nb_trace);i++) {
+
for(i = 0 ; i < nb_trace ; i++)
{
events_request = g_new(EventsRequest, 1);
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
events_request = g_new(EventsRequest, 1);
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
@@
-734,8
+734,8
@@
static gboolean SecondRequest(void *hook_data, void *call_data)
nb_trace = lttv_traceset_number(traceset);
/* There are many traces in a traceset. Iteration for each trace. */
nb_trace = lttv_traceset_number(traceset);
/* There are many traces in a traceset. Iteration for each trace. */
- for(i = 0
; i<MIN(TRACE_NUMBER+1, nb_trace);i++)
- {
+ for(i = 0
; i < nb_trace ; i++) {
+
// fixed for(i = 0; i<MIN(TRACE_NUMBER+1, nb_trace);i++)
{
events_request = g_new(EventsRequest, 1);
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
events_request = g_new(EventsRequest, 1);
hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook));
This page took
0.024758 seconds
and
4
git commands to generate.