[Crash-utility] Re: [PATCH v7 5/5] fix 'info threads' command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Kazu,

On Thu, Feb 08, 2024 at 08:41:12AM +0000, HAGIO KAZUHITO(萩尾 一仁) wrote:
> On 2024/02/05 15:36, Aditya Gupta wrote:
> 
> > @@ -1880,7 +1880,7 @@ cmd_set(void)
> >                   		error(INFO, "no panic task found!\n");
> >   				return;
> >   			}
> > -        		set_context(tt->panic_task, NO_PID);
> > +        		set_context(tt->panic_task, NO_PID, FALSE);
> 
> How about TRUE for "set -p" too?

Yes, it makes sense. I will change it to TRUE.

Thanks,
Aditya Gupta

> 
> Thanks,
> Kazu
> 
> >   			show_context(CURRENT_CONTEXT());
> >   			return;
> >   
> > @@ -2559,14 +2559,14 @@ cmd_set(void)
> >   	                case STR_PID:
> >                                   pid = value;
> >                                   task = NO_TASK;
> > -                        	if (set_context(task, pid))
> > +                        	if (set_context(task, pid, FALSE))
> >                                   	show_context(CURRENT_CONTEXT());
> >   	                        break;
> >   	
> >   	                case STR_TASK:
> >                                   task = value;
> >                                   pid = NO_PID;
> > -                                if (set_context(task, pid))
> > +                                if (set_context(task, pid, FALSE))
> >                                           show_context(CURRENT_CONTEXT());
> >   	                        break;
> >   	
--
Crash-utility mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxxxxxx
https://${domain_name}/admin/lists/devel.lists.crash-utility.osci.io/
Contribution Guidelines: https://github.com/crash-utility/crash/wiki




[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux