All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf v4] tools/runqslower: use __state instead of state
@ 2021-07-07  5:29 SanjayKumar Jeyakumar
  2021-07-07 16:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: SanjayKumar Jeyakumar @ 2021-07-07  5:29 UTC (permalink / raw)
  To: ast, daniel, andrii, kafai, songliubraving, yhs, john.fastabend, kpsingh
  Cc: SanjayKumar Jeyakumar, netdev, bpf

Commit 2f064a59a11f: sched: Change task_struct::state
renamed task->state to task->__state in task_struct

Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: SanjayKumar Jeyakumar <vjsanjay@gmail.com>
---
 tools/bpf/runqslower/runqslower.bpf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/bpf/runqslower/runqslower.bpf.c b/tools/bpf/runqslower/runqslower.bpf.c
index 645530ca7e98..ab9353f2fd46 100644
--- a/tools/bpf/runqslower/runqslower.bpf.c
+++ b/tools/bpf/runqslower/runqslower.bpf.c
@@ -74,7 +74,7 @@ int handle__sched_switch(u64 *ctx)
 	u32 pid;
 
 	/* ivcsw: treat like an enqueue event and store timestamp */
-	if (prev->state == TASK_RUNNING)
+	if (prev->__state == TASK_RUNNING)
 		trace_enqueue(prev);
 
 	pid = next->pid;
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH bpf v4] tools/runqslower: use __state instead of state
  2021-07-07  5:29 [PATCH bpf v4] tools/runqslower: use __state instead of state SanjayKumar Jeyakumar
@ 2021-07-07 16:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-07-07 16:20 UTC (permalink / raw)
  To: Sanjay Kumar J
  Cc: ast, daniel, andrii, kafai, songliubraving, yhs, john.fastabend,
	kpsingh, netdev, bpf

Hello:

This patch was applied to bpf/bpf.git (refs/heads/master):

On Wed,  7 Jul 2021 10:59:14 +0530 you wrote:
> Commit 2f064a59a11f: sched: Change task_struct::state
> renamed task->state to task->__state in task_struct
> 
> Acked-by: Yonghong Song <yhs@fb.com>
> Signed-off-by: SanjayKumar Jeyakumar <vjsanjay@gmail.com>
> ---
>  tools/bpf/runqslower/runqslower.bpf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [bpf,v4] tools/runqslower: use __state instead of state
    https://git.kernel.org/bpf/bpf/c/cced7490b172

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-07 16:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-07  5:29 [PATCH bpf v4] tools/runqslower: use __state instead of state SanjayKumar Jeyakumar
2021-07-07 16:20 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.