Re: Firefox command seems to be a wrapper

2019-07-20 Thread Boris Zbarsky
On 7/20/19 9:04 AM, Mahmood Naderan wrote: However, I am not sure if the tracer logs *the process that fetches data from web* or not. Using the definite article ("the") there, is fundamentally wrong. When you load a web page in Firefox, there are at least 2 processes involved in "fetching

Re: Firefox command seems to be a wrapper

2019-07-20 Thread Mahmood Naderan
Mike, I even tried that. The command /usr/lib64/firefox/firefox www.google.com will spawn multiple processes. As I tried with my tracer, I see that the above process executes instructions even after the firefox window is opened and google page is fetched. However, I am not sure if the tracer

Re: Firefox command seems to be a wrapper

2019-07-16 Thread Mike Hommey
On Tue, Jul 16, 2019 at 06:44:36AM +0430, Mahmood Naderan wrote: > OK I will try the source compilation. Please let me know if I have use > specific options for my purpose or not. I'm not sure how you jumped from my response to building from source, but what I'm saying is that you probably can

Re: Firefox command seems to be a wrapper

2019-07-16 Thread Mahmood Naderan
OK I will try the source compilation. Please let me know if I have use specific options for my purpose or not. On Tue, Jul 16, 2019, 02:20 Mike Hommey wrote: > > It looks like your Linux distro has set their own wrapper for Firefox. > That's not something that comes from Firefox itself. So

Re: Firefox command seems to be a wrapper

2019-07-16 Thread Mahmood Naderan
>Is just "the main firefox" enough for the tracing you want to do? I am looking for way to run "firefox www.google.com" and then see firefox opens that shows google web page. >Note >that all the website rendering happens in separate processes, not the >Firefox UI process. Maybe that is

Firefox command seems to be a wrapper

2019-07-16 Thread Mahmood Naderan
Hi, I want to analyze firefox by tracing instruction footprints as I am working with that. Problem is that when I pass /usr/bin/firefox (or simply firefox) to the tracer, it stops logging as soon as the main window opens. As I looked further, I have noticed that another process is launched and

Re: Firefox command seems to be a wrapper

2019-07-16 Thread Mahmood Naderan
OK I will try the source compilation. Please let me know if I have use specific options for my purpose or not. If I build from source, can I do what I want? > It looks like your Linux distro has set their own wrapper for Firefox. > That's not something that comes from Firefox itself. So

Firefox command seems to be a wrapper

2019-07-16 Thread Mahmood Naderan
Hi, I want to analyze firefox by tracing instruction footprints as I am working with that. Problem is that when I pass /usr/bin/firefox (or simply firefox) to the tracer, it stops logging as soon as the main window opens. As I looked further, I have noticed that another process is launched and

Re: Firefox command seems to be a wrapper

2019-07-15 Thread Mike Hommey
On Tuesday, July 16, 2019 at 12:51:28 AM UTC+9, Mahmood Naderan wrote: > > Hi, > > I want to analyze firefox by tracing instruction footprints as I am > working with that. Problem is that when I pass /usr/bin/firefox (or simply > firefox) to the tracer, it stops logging as soon as the main

Re: Firefox command seems to be a wrapper

2019-07-15 Thread Boris Zbarsky
On 7/15/19 11:51 AM, Mahmood Naderan wrote: Overall, firefox command is a wrapper and I am seeking for a way to access the main firefox. Is just "the main firefox" enough for the tracing you want to do? Note that all the website rendering happens in separate processes, not the Firefox UI