projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move functions that send messages to traced processes to libustcomm (which is linked...
[lttng-ust.git]
/
libtracing
/
tracer.h
diff --git
a/libtracing/tracer.h
b/libtracing/tracer.h
index cff0705c1020ef15e95a0e93a7cff07d7f449e35..e39947f0185141146ae86d8eea61e9ff134b0bdb 100644
(file)
--- a/
libtracing/tracer.h
+++ b/
libtracing/tracer.h
@@
-146,8
+146,7
@@
struct ltt_trace_ops {
void **transport_data, size_t data_size,
size_t *slot_size, long *buf_offset, u64 *tsc,
unsigned int *rflags,
void **transport_data, size_t data_size,
size_t *slot_size, long *buf_offset, u64 *tsc,
unsigned int *rflags,
- int largest_align,
- int cpu);
+ int largest_align);
void (*commit_slot) (struct ltt_channel_struct *channel,
void **transport_data, long buf_offset,
size_t slot_size);
void (*commit_slot) (struct ltt_channel_struct *channel,
void **transport_data, long buf_offset,
size_t slot_size);
@@
-168,7
+167,7
@@
struct ltt_trace_ops {
void (*remove_channel) (struct ltt_channel_struct *channel);
void (*user_errors) (struct ltt_trace_struct *trace,
unsigned int index, size_t data_size,
void (*remove_channel) (struct ltt_channel_struct *channel);
void (*user_errors) (struct ltt_trace_struct *trace,
unsigned int index, size_t data_size,
- struct user_dbg_data *dbg
, int cpu
);
+ struct user_dbg_data *dbg);
//ust// #ifdef CONFIG_HOTPLUG_CPU
//ust// int (*handle_cpuhp) (struct notifier_block *nb,
//ust// unsigned long action, void *hcpu,
//ust// #ifdef CONFIG_HOTPLUG_CPU
//ust// int (*handle_cpuhp) (struct notifier_block *nb,
//ust// unsigned long action, void *hcpu,
@@
-498,12
+497,11
@@
static inline int ltt_reserve_slot(
long *buf_offset,
u64 *tsc,
unsigned int *rflags,
long *buf_offset,
u64 *tsc,
unsigned int *rflags,
- int largest_align,
- int cpu)
+ int largest_align)
{
return trace->ops->reserve_slot(trace, channel, transport_data,
data_size, slot_size, buf_offset, tsc, rflags,
{
return trace->ops->reserve_slot(trace, channel, transport_data,
data_size, slot_size, buf_offset, tsc, rflags,
- largest_align
, cpu
);
+ largest_align);
}
}
@@
-549,11
+547,14
@@
static inline void ltt_commit_slot(
#define LTT_FLIGHT_PREFIX "flight-"
/* Tracer properties */
#define LTT_FLIGHT_PREFIX "flight-"
/* Tracer properties */
-#define LTT_DEFAULT_SUBBUF_SIZE_LOW 65536
+//#define LTT_DEFAULT_SUBBUF_SIZE_LOW 65536
+#define LTT_DEFAULT_SUBBUF_SIZE_LOW 4096
#define LTT_DEFAULT_N_SUBBUFS_LOW 2
#define LTT_DEFAULT_N_SUBBUFS_LOW 2
-#define LTT_DEFAULT_SUBBUF_SIZE_MED 262144
+//#define LTT_DEFAULT_SUBBUF_SIZE_MED 262144
+#define LTT_DEFAULT_SUBBUF_SIZE_MED 4096
#define LTT_DEFAULT_N_SUBBUFS_MED 2
#define LTT_DEFAULT_N_SUBBUFS_MED 2
-#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 1048576
+//#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 1048576
+#define LTT_DEFAULT_SUBBUF_SIZE_HIGH 4096
#define LTT_DEFAULT_N_SUBBUFS_HIGH 2
#define LTT_TRACER_MAGIC_NUMBER 0x00D6B7ED
#define LTT_TRACER_VERSION_MAJOR 2
#define LTT_DEFAULT_N_SUBBUFS_HIGH 2
#define LTT_TRACER_MAGIC_NUMBER 0x00D6B7ED
#define LTT_TRACER_VERSION_MAJOR 2
This page took
0.024292 seconds
and
4
git commands to generate.