projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update version
[lttv.git]
/
genevent
/
genevent.c
diff --git
a/genevent/genevent.c
b/genevent/genevent.c
index faf362e5543426dd05d4124f073e9c89435cf6de..42e5563ff183fa5f7eb0d6f00a8a7c66a0f063bc 100644
(file)
--- a/
genevent/genevent.c
+++ b/
genevent/genevent.c
@@
-224,11
+224,11
@@
int print_arg(type_descriptor_t * td, FILE *fd, unsigned int tabs,
switch(td->type) {
case INT_FIXED:
fprintf(fd, "%s", intOutputTypes[getSizeindex(td->size)]);
switch(td->type) {
case INT_FIXED:
fprintf(fd, "%s", intOutputTypes[getSizeindex(td->size)]);
- fprintf(fd, "lttng_param_%s", field_name);
+ fprintf(fd, "
lttng_param_%s", field_name);
break;
case UINT_FIXED:
fprintf(fd, "%s", uintOutputTypes[getSizeindex(td->size)]);
break;
case UINT_FIXED:
fprintf(fd, "%s", uintOutputTypes[getSizeindex(td->size)]);
- fprintf(fd, "lttng_param_%s", field_name);
+ fprintf(fd, "
lttng_param_%s", field_name);
break;
case CHAR:
fprintf(fd, "signed char");
break;
case CHAR:
fprintf(fd, "signed char");
@@
-1508,7
+1508,7
@@
int print_event_logging_function(char *basename, facility_t *fac,
print_tabs(1, fd);
fprintf(fd, "preempt_disable();\n");
print_tabs(1, fd);
print_tabs(1, fd);
fprintf(fd, "preempt_disable();\n");
print_tabs(1, fd);
- fprintf(fd, "
current->ltt_nesting
++;\n");
+ fprintf(fd, "
ltt_nesting[smp_processor_id()]
++;\n");
/* Get facility index */
/* Get facility index */
@@
-1632,7
+1632,7
@@
int print_event_logging_function(char *basename, facility_t *fac,
/* Release locks */
print_tabs(1, fd);
/* Release locks */
print_tabs(1, fd);
- fprintf(fd, "
current->ltt_nesting
--;\n");
+ fprintf(fd, "
ltt_nesting[smp_processor_id()]
--;\n");
print_tabs(1, fd);
fprintf(fd, "preempt_enable_no_resched();\n");
print_tabs(1, fd);
fprintf(fd, "preempt_enable_no_resched();\n");
This page took
0.022863 seconds
and
4
git commands to generate.