[lttng-dev] Wrong procname if tracepoint is used before fork

2018-04-17 Thread negoita catalin via lttng-dev
Hello, Using the following test app, it can be seen that if tracepoint is used before fork(), procname value is wrong in babeltrace output live session. Test application: ... int main(int argc, char *argv[]) { pid_t pid1; //tracepoint(hello_world, my_first_tracepoint, pid1, "Before fork Pid: ")

[lttng-dev] [PATCH lttng-modules 1/3] Fix: Add gfp_flags arg to mm_vmscan_kswapd_wake for 4.17

2018-04-17 Thread Michael Jeanson
See upstream commit: commit 5ecd9d403ad081ed2de7b118c1e96124d4e0ba6c Author: David Rientjes Date: Thu Apr 5 16:25:16 2018 -0700 mm, page_alloc: wakeup kcompactd even if kswapd cannot free more memory Kswapd will not wakeup if per-zone watermarks are not failing or if too man

[lttng-dev] [PATCH lttng-modules 2/3] Fix: use struct reclaim_stat in mm_vmscan_lru_shrink_inactive for 4.17

2018-04-17 Thread Michael Jeanson
See upstream commit: commit d51d1e64500fcb48fc6a18c77c965b8f48a175f2 Author: Steven Rostedt Date: Tue Apr 10 16:28:07 2018 -0700 mm, vmscan, tracing: use pointer to reclaim_stat struct in trace event The trace event trace_mm_vmscan_lru_shrink_inactive() currently has 12 para

[lttng-dev] [PATCH lttng-modules 3/3] Fix: sunrpc instrumentation for 4.17

2018-04-17 Thread Michael Jeanson
See upstream commit: commit e671edb9428c8a61662aaf8c39f5edced7cc45c7 Author: Chuck Lever Date: Fri Mar 16 10:33:44 2018 -0400 sunrpc: Simplify synopsis of some trace points Clean up: struct rpc_task carries a pointer to a struct rpc_clnt, and in fact task->tk_client is alway

Re: [lttng-dev] Wrong procname if tracepoint is used before fork

2018-04-17 Thread Jonathan Rajotte-Julien
Hi, On Tue, Apr 17, 2018 at 11:44:36AM +, negoita catalin via lttng-dev wrote: > Hello, > > Using the following test app, it can be seen that if tracepoint is used > before fork(), procname value is wrong in babeltrace output live session. > > Test application: Please provide a link to the