projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert from svn repository: remove tags directory
[lttv.git]
/
trunk
/
lttv
/
lttv
/
modules
/
gui
/
diskperformance
/
diskperformance.c
diff --git
a/trunk/lttv/lttv/modules/gui/diskperformance/diskperformance.c
b/trunk/lttv/lttv/modules/gui/diskperformance/diskperformance.c
index d09da7e65daa55b06a686edd3f19c24decd76b1a..117cb38e3c9c38ae9de8d71faf7711aae7de54d4 100644
(file)
--- a/
trunk/lttv/lttv/modules/gui/diskperformance/diskperformance.c
+++ b/
trunk/lttv/lttv/modules/gui/diskperformance/diskperformance.c
@@
-88,7
+88,7
@@
typedef struct _DiskPerformanceData {
GArray *disk_array;
GArray *disk_array;
- LttvHooksById * event_by_id_hooks;
+ LttvHooksById
ChannelArray
* event_by_id_hooks;
} DiskPerformanceData;
} DiskPerformanceData;
@@
-445,17
+445,17
@@
static void request_event(DiskPerformanceData *disk_performance)
/* Get a trace state */
ts = (LttvTraceState *)tsc->traces[i];
/* Get a trace state */
ts = (LttvTraceState *)tsc->traces[i];
- disk_performance->event_by_id_hooks = lttv_hooks_by_id_new();
+ disk_performance->event_by_id_hooks = lttv_hooks_by_id_
channel_
new();
/* Register event_by_id_hooks with a callback function */
ret = lttv_trace_find_hook(ts->parent.t,
/* Register event_by_id_hooks with a callback function */
ret = lttv_trace_find_hook(ts->parent.t,
- LTT_
FACILITY
_BLOCK, LTT_EVENT_BLOCK_READ,
+ LTT_
CHANNEL
_BLOCK, LTT_EVENT_BLOCK_READ,
0, 0, 0,
block_read_callback,
disk_performance,
&g_array_index(hooks, LttvTraceHook, 0));
ret = lttv_trace_find_hook(ts->parent.t,
0, 0, 0,
block_read_callback,
disk_performance,
&g_array_index(hooks, LttvTraceHook, 0));
ret = lttv_trace_find_hook(ts->parent.t,
- LTT_
FACILITY
_BLOCK, LTT_EVENT_BLOCK_WRITE,
+ LTT_
CHANNEL
_BLOCK, LTT_EVENT_BLOCK_WRITE,
0, 0, 0,
block_write_callback,
disk_performance,
0, 0, 0,
block_write_callback,
disk_performance,
@@
-470,7
+470,9
@@
static void request_event(DiskPerformanceData *disk_performance)
for(l=0; l<hook->fac_list->len; l++)
{
thf = g_array_index(hook->fac_list, LttvTraceHookByFacility*, l);
for(l=0; l<hook->fac_list->len; l++)
{
thf = g_array_index(hook->fac_list, LttvTraceHookByFacility*, l);
- lttv_hooks_add(lttv_hooks_by_id_find(disk_performance->event_by_id_hooks, thf->id),
+ lttv_hooks_add(lttv_hooks_by_id_channel_find(
+ disk_performance->event_by_id_hooks,
+ thf->channel, thf->id),
thf->h,
disk_performance,
LTTV_PRIO_DEFAULT);
thf->h,
disk_performance,
LTTV_PRIO_DEFAULT);
@@
-502,7
+504,7
@@
static void request_event(DiskPerformanceData *disk_performance)
events_request->before_chunk_trace = disk_performance->hooks_trace_before;
events_request->before_chunk_tracefile= NULL;
events_request->event = NULL;
events_request->before_chunk_trace = disk_performance->hooks_trace_before;
events_request->before_chunk_tracefile= NULL;
events_request->event = NULL;
- events_request->event_by_id
= disk_performance->event_by_id_hooks;
+ events_request->event_by_id
_channel
= disk_performance->event_by_id_hooks;
events_request->after_chunk_tracefile = NULL;
events_request->after_chunk_trace = NULL;
events_request->after_chunk_traceset = NULL;
events_request->after_chunk_tracefile = NULL;
events_request->after_chunk_trace = NULL;
events_request->after_chunk_traceset = NULL;
This page took
0.024044 seconds
and
4
git commands to generate.