projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add pid/ppid/tid/vtid/vpid/vppid contexts
[lttng-modules.git]
/
lttng-context-pid.c
diff --git
a/lttng-context-pid.c
b/lttng-context-pid.c
index ddd78a5d8dfb3f4b4e0eb296286a8c6d1a8cde3f..5400db9632ab1f7f5ef332e88df78f219fce3c5f 100644
(file)
--- a/
lttng-context-pid.c
+++ b/
lttng-context-pid.c
@@
-32,7
+32,7
@@
void pid_record(struct lttng_ctx_field *field,
{
pid_t pid;
- pid =
current->pid
;
+ pid =
task_tgid_nr(current)
;
lib_ring_buffer_align_ctx(ctx, ltt_alignof(pid));
chan->ops->event_write(ctx, &pid, sizeof(pid));
}
This page took
0.02278 seconds
and
4
git commands to generate.