Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Guy Harris
On Aug 23, 2013, at 3:16 PM, Jakub Zawadzki wrote: > Also it's not perfect like BPF VM, check: https://lkml.org/lkml/2012/3/30/384a Presumably meaning https://lkml.org/lkml/2012/3/30/384 as the link didn't work with the final "a". > Don't know if such instruction can happen in BPF fi

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Jakub Zawadzki
On Thu, Aug 22, 2013 at 08:45:06PM +0200, Jakub Zawadzki wrote: > On Thu, Aug 22, 2013 at 09:16:04AM -0700, Guy Harris wrote: > > > > On Aug 22, 2013, at 4:46 AM, Anders Broman > > wrote: > > > > > Should we add code to enable the JIT compiler from dumpcap? > > > > Should I add code to enable

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Jakub Zawadzki
On Fri, Aug 23, 2013 at 10:23:32AM +, Anders Broman wrote: > > before we change it, should we remember the previous setting and restore it > > when dumpcap exits? > > Preferably yes but I'm not sure it's possible as I think root privileges are > required to write to the file and I think dump

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Guy Harris
On Aug 23, 2013, at 1:01 PM, Réczey Bálint wrote: > FreeBSD has a different implementation AFAIK The first implementation was the WinPcap one, for x86-32 or IA-32 or whatever you want to call the 32-bit version of x86. The FreeBSD people picked that one up, added x86-64 support, and, if I re

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Réczey Bálint
2013/8/23 Anders Broman : > > > *** E-mail via DME powered by mobile broadband *** > > > --Original message--- > Sender: "Réczey Bálint" > Time: Fri Aug 23 21:00:00 CEST 2013 > Cc: wireshark-dev@wireshark.org, > Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? > > 2013

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
*** E-mail via DME powered by mobile broadband *** --Original message--- Sender: "Réczey Bálint" Time: Fri Aug 23 21:00:00 CEST 2013 Cc: wireshark-dev@wireshark.org, Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? 2013/8/23 Anders Broman : > > > *** E-mail via D

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Réczey Bálint
2013/8/23 Anders Broman : > > > *** E-mail via DME powered by mobile broadband *** > > > --Original message--- > Sender: "rbal...@gmail.com" > Time: Fri Aug 23 17:54:00 CEST 2013 > Cc: wireshark-dev@wireshark.org, > Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? > >

Re: [Wireshark-dev] [Wireshark-commits] rev 51476: /trunk/ /trunk/: dumpcap.c

2013-08-23 Thread Дмитрий Дьяченко
2013/8/22 : > http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=51476 > > User: martink > Date: 2013/08/22 11:49 AM > > Log: > fix compiler warning on Debian wheezy (gcc 4.7.2) > > dumpcap.c:193:10: error: ignoring return value of ‘write’, declared with > attribute warn_unused_re

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
*** E-mail via DME powered by mobile broadband *** --Original message--- Sender: "rbal...@gmail.com" Time: Fri Aug 23 17:54:00 CEST 2013 Cc: wireshark-dev@wireshark.org, Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? 2013/8/23 Anders Broman : > > > -Origina

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Bálint Réczey
2013/8/23 Anders Broman : > > > -Original Message- > From: rbal...@gmail.com [mailto:rbal...@gmail.com] On Behalf Of Bálint Réczey > Sent: den 23 augusti 2013 14:23 > To: Anders Broman > Cc: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] Enabling linux kernel jit compil

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
-Original Message- From: rbal...@gmail.com [mailto:rbal...@gmail.com] On Behalf Of Bálint Réczey Sent: den 23 augusti 2013 14:23 To: Anders Broman Cc: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? 2013/8/23 Anders Broma

Re: [Wireshark-dev] Getting a wireshark stack trace on Windows

2013-08-23 Thread Graham Bloice
On 22 August 2013 20:02, Evan Huus wrote: > Could somebody who knows windows a little better take a look at bug #9062? > I don't fully understand how our build environment interacts with windows > debuggers / stack tracers. Is there a way to get a symbolic stack trace on > Windows without compili

Re: [Wireshark-dev] Getting a wireshark stack trace on Windows

2013-08-23 Thread Graham Bloice
pdb's for trunk can be found in a zip file in the same directory as the executable installer. Note that pdb's are only kept available for the length of time that the installer is. Once the pdb's have been deleted then debugging becomes close to impossible. Graham On 23 August 2013 08:28, Alexi

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Bálint Réczey
2013/8/23 Anders Broman : > > > -Original Message- > From: wireshark-dev-boun...@wireshark.org > [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Bálint Réczey > Sent: den 23 augusti 2013 12:59 > To: Developer support list for Wireshark > Subject: Re: [Wireshark-dev] Enabling linu

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
-Original Message- From: wireshark-dev-boun...@wireshark.org [mailto:wireshark-dev-boun...@wireshark.org] On Behalf Of Bálint Réczey Sent: den 23 augusti 2013 12:59 To: Developer support list for Wireshark Subject: Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap? 201

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Bálint Réczey
2013/8/23 Anders Broman : >> before we change it, should we remember the previous setting and restore it >> when dumpcap exits? > > Preferably yes but I'm not sure it's possible as I think root privileges are > required to write to the file and I think dumpcap > Drops those after starting to capt

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
> For people not reading the documentation capturing will be a bit slower or we > could put a note on the welcome screen if JIT is not enabled. For persistently enabling JIT we could also mention Sysfsutils [1]. > I would prefer not adding features which can be implemented easily with two > lines

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Anders Broman
> before we change it, should we remember the previous setting and restore it > when dumpcap exits? Preferably yes but I'm not sure it's possible as I think root privileges are required to write to the file and I think dumpcap Drops those after starting to capture. Regards Anders -Origina

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Bálint Réczey
Hi, 2013/8/23 Anders Broman : > Bálint Réczey skrev 2013-08-22 23:02: ... >> Regarding Wireshark I would prefer suggesting "echo 1 > >> /proc/sys/net/core/bpf_jit_enable" in the documentation >> instead of adding code to enable JIT. >> There may be good reasons for not enabling it by default in th

Re: [Wireshark-dev] Enabling linux kernel jit compiler from dumpcap?

2013-08-23 Thread Martin Kaiser
before we change it, should we remember the previous setting and restore it when dumpcap exits? Thus wrote Anders Broman (a.bro...@bredband.net): > Bálint Réczey skrev 2013-08-22 23:02: >> Hi, >> I would be happier if the applications I run did not change kernel >> configuration without my conse

Re: [Wireshark-dev] Getting a wireshark stack trace on Windows

2013-08-23 Thread Alexis La Goutte
Hi, pdb file is available (for stable release) in this page : http://www.wireshark.org/download/win32/all-versions/ (search Wireshark-pdb-win32-xxx.zip file) I don't known if pdb is available for trunk release... On Fri, Aug 23, 2013 at 8:36 AM, Speck, Michael AVL/DE < michael.sp...@avl.com> wr