Adding perf_thread_map struct into libperf.
It's added as a declaration into into:
include/perf/threadmap.h
which will be included by users.
The perf_thread_map struct definition is added into:
include/internal/threadmap.h
which is not to be included by users, but shared
within perf and
Including perf_evsel in evsel object, will continue
to move other generic things into libperf evsel.
Link: http://lkml.kernel.org/n/tip-5hwrt780h6bkry7pxvqpr...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-sched.c | 2 +-
tools/perf/builtin-trace.c | 2 +-
Moving following functions:
thread_map__new_dummy
thread_map__realloc
thread_map__set_pid
under libperf with following names:
perf_thread_map__new_dummy
perf_thread_map__realloc
perf_thread_map__set_pid
the other 2 functions are dependencies of the
perf_thread_map__new_dummy
Link libperf.a with python.so.
Link: http://lkml.kernel.org/n/tip-kxsfxvj7e2noz2kzhyf2i...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/Makefile.perf | 1 +
tools/perf/util/setup.py | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/perf/Makefile.perf
Adding shared library version, generating following files:
$ ll toos/perf/lib/libperf.so*
libperf.so -> libperf.so.0.0.1
libperf.so.0 -> libperf.so.0.0.1
libperf.so.0.0.1
Link: http://lkml.kernel.org/n/tip-d2cnt8qoqc5nxiibvzvuw...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Renaming perf_evlist__open to evlist__open, so we don't
have a name clash when we add perf_evlist__open in libperf.
Link: http://lkml.kernel.org/n/tip-7b8seckx0anm4xgqhglae...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-
Renaming perf_evlist__enable to evlist__enable, so we don't
have a name clash when we add perf_evlist__enable in libperf.
Link: http://lkml.kernel.org/n/tip-9q67kqgxx9dv4rkhy8uxp...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-
Adding perf/core.h header to be used in header files
coming in following patches.
Link: http://lkml.kernel.org/n/tip-4gcruaobuhxfyaa88j2gx...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/lib/include/perf/core.h | 9 +
1 file changed, 9 insertions(+)
create mode 100644
Renaming perf_evlist__disable to evlist__disable, so we don't
have a name clash when we add perf_evlist__disable in libperf.
Link: http://lkml.kernel.org/n/tip-vn0lz359acxl89cq6fm54...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-
Adding empty libperf.a under toos/perf/lib and
linking it with perf.
It can also be built separately with:
$ cd tools/perf/lib && make
CC core.o
LD libperf-in.o
AR libperf.a
LINK libperf.so
Link:
Renaming perf_evlist__close to evlist__close, so we don't
have a name clash when we add perf_evlist__close in libperf.
Link: http://lkml.kernel.org/n/tip-m1udn077bkmjdmaak6qhq...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-kvm.c | 2 +-
tools/perf/builtin-stat.c | 4 ++--
Renaming perf_evsel__cpus to evsel__cpus, so we don't
have a name clash when we add perf_evsel__cpus in libperf.
Link: http://lkml.kernel.org/n/tip-3udl12g7x61nlxgasskcc...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evsel.h| 4 ++--
tools/perf/util/stat-display.c | 6
Renaming perf_evsel__apply_filter to evsel__apply_filter, so we don't
have a name clash when we add perf_evsel__apply_filter in libperf.
Link: http://lkml.kernel.org/n/tip-39471ej79lohwjen50um9...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evlist.c | 2 +-
Renaming perf_evsel__disable to evsel__disable, so we don't
have a name clash when we add perf_evsel__disable in libperf.
Link: http://lkml.kernel.org/n/tip-39471ej79lohwjen50um9...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/arm/util/cs-etm.c| 2 +-
Renaming perf_evsel__enable to evsel__enable, so we don't
have a name clash when we add perf_evsel__enable in libperf.
Link: http://lkml.kernel.org/n/tip-mgss0xfbhprdvdai1deob...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/arm/util/cs-etm.c| 2 +-
Renaming perf_evlist__delete to evlist__delete, so we don't
have a name clash when we add perf_evlist__delete in libperf.
Link: http://lkml.kernel.org/n/tip-od8hw47ixzd08wma85his...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/intel-cqm.c| 2 +-
Renaming perf_evsel__new to evsel__new, so we don't
have a name clash when we add perf_evsel__new in libperf.
Link: http://lkml.kernel.org/n/tip-iej45vzu76gv69qaxod2p...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-trace.c | 2 +-
tools/perf/tests/sw-clock.c| 2 +-
Renaming perf_evsel__init to evsel__init, so we don't
have a name clash when we add perf_evsel__init in libperf.
Link: http://lkml.kernel.org/n/tip-ek9h0ywy7egemq42g34l7...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evsel.c | 8
tools/perf/util/evsel.h | 3 +--
Renaming perf_evsel__delete to evsel__delete, so we don't
have a name clash when we add perf_evsel__delete in libperf.
Also renaming perf_evsel__delete_priv to evsel__delete_priv.
Link: http://lkml.kernel.org/n/tip-1idhej8393hqd36n1yy7r...@git.kernel.org
Signed-off-by: Jiri Olsa
---
Renaming perf_evlist__add to evlist__add, so we don't
have a name clash when we add perf_evlist__add in libperf.
Link: http://lkml.kernel.org/n/tip-cjaidjrd4uae9t6ms1q5e...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-trace.c | 12 ++--
Renaming perf_evlist__new to evlist__new, so we don't
have a name clash when we add perf_evlist__new in libperf.
Link: http://lkml.kernel.org/n/tip-6trhnvxytm6m433qdjdzm...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/powerpc/util/kvm-stat.c | 2 +-
Renaming perf_evsel__open to evsel__open, so we don't
have a name clash when we add perf_evsel__open in libperf.
Link: http://lkml.kernel.org/n/tip-tdrno85i5s3d7kusfpl3t...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-record.c| 2 +-
tools/perf/builtin-top.c
Renaming perf_evlist__init to evlist__init, so we don't
have a name clash when we add perf_evlist__init in libperf.
Link: http://lkml.kernel.org/n/tip-6trhnvxytm6m433qdjdzm...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/util/evlist.c | 6 +++---
tools/perf/util/evlist.h | 4 ++--
Renaming perf_evlist__remove to evlist__remove, so we don't
have a name clash when we add perf_evlist__remove in libperf.
Link: http://lkml.kernel.org/n/tip-xgzjnysc47nshnxecize1...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-inject.c | 4 ++--
tools/perf/util/evlist.c| 2
Renaming struct thread_map to struct perf_thread_map,
so it could be part of libperf.
Link: http://lkml.kernel.org/n/tip-9cgc4auwc7ifg8zycnd67...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-
tools/perf/builtin-record.c | 2
Renaming struct cpu_map to struct perf_cpu_map,
so it could be part of libperf.
Link: http://lkml.kernel.org/n/tip-isi1dlub7s0kf5wacvgpo...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/arch/x86/tests/perf-time-to-tsc.c | 2 +-
tools/perf/arch/x86/util/intel-bts.c | 2 +-
hi,
we have long term goal to separate some of the perf functionality
into library. This patchset is initial effort on separating some
of the interface.
Currently only the basic counting interface is exported, it allows
to:
- create cpu/threads maps
- create evlist/evsel objects
- add evsel
Because we will make struct perf_counts_values public in
following patches and 'loaded' is implementation related.
No functional change is expected.
Link: http://lkml.kernel.org/n/tip-418j9zovp8k4t71dqkng6...@git.kernel.org
Signed-off-by: Jiri Olsa
---
tools/perf/builtin-stat.c | 4 ++--
kmalloc + memcpy can be replaced with kmemdup.
fix below issue reported by coccicheck
./fs/omfs/inode.c:366:9-16: WARNING opportunity for kmemdup
Signed-off-by: Hariprasad Kelam
---
fs/omfs/inode.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/fs/omfs/inode.c
All #define are about SCA3000_... except the last one.
Make it consistent.
s/SAC3000/SCA3000/
This #define is apparently unused up to now.
Signed-off-by: Christophe JAILLET
---
drivers/iio/accel/sca3000.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
s/ADPS9960/APDS9960/
(P and D switched)
Signed-off-by: Christophe JAILLET
---
drivers/iio/light/apds9960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/iio/light/apds9960.c b/drivers/iio/light/apds9960.c
index b09b8b60bd83..c5dfb9a6b5a1 100644
---
As txLog always returns 0 change return type from int to void.
fix below issue reported by coccicheck
/fs/jfs/jfs_txnmgr.c:1370:5-7: Unneeded variable: "rc". Return "0" on
line 1417
Signed-off-by: Hariprasad Kelam
---
fs/jfs/jfs_txnmgr.c | 12
1 file changed, 4 insertions(+), 8
Veja nossas opções de hospedagem e outros serviços:
-
Sobek Host 01
5 Domínios
5.000 GB Espaço em SSD
Ilimitado Tráfego
cPanel Painel de Controle
Ilimitadas Contas de E-mail
Ilimitadas Base de Dados
Grátis Certificado SSL
Garantia de Uptime
s/tipc_toprsv_listener_data_ready/tipc_topsrv_listener_data_ready/
(r and s switched in topsrv)
Signed-off-by: Christophe JAILLET
---
The function name could also be removed from the comment. It does not
bring any useful information IMHO.
---
net/tipc/topsrv.c | 2 +-
1 file changed, 1
Ryder Lee writes:
> Add initial values in mt7615_mcu_set_wmm() to cleanup setup flow.
>
> Signed-off-by: Ryder Lee
[...]
> -#define WMM_AIFS_SET BIT(0)
> -#define WMM_CW_MIN_SET BIT(1)
> -#define WMM_CW_MAX_SET BIT(2)
> -#define WMM_TXOP_SET BIT(3)
> +#define WMM_PARAM_SET
Hi Robert,
On Wed, Jun 26, 2019 at 04:32:09PM +0300, Robert Chiras wrote:
> Currently, the MXSFB DRM driver only supports a panel. But, its output
> display signal can also be redirected to another encoder, like a DSI
> controller. In this case, that DSI controller may act like a drm_bridge.
> In
Ryder Lee writes:
> Fix warnings and errors as much as possible.
>
> Signed-off-by: Ryder Lee
> ---
> drivers/net/wireless/mediatek/mt76/agg-rx.c | 21 +
> drivers/net/wireless/mediatek/mt76/dma.c | 2 +-
> drivers/net/wireless/mediatek/mt76/mac80211.c | 30 ++--
>
s/Vairax/Variax/
Signed-off-by: Christophe JAILLET
---
sound/usb/line6/variax.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/usb/line6/variax.c b/sound/usb/line6/variax.c
index 0d24c72c155f..ed158f04de80 100644
--- a/sound/usb/line6/variax.c
+++
On Sun, Jul 21, 2019 at 11:29:19AM +0200, Greg Kroah-Hartman wrote:
> On Sun, Jul 21, 2019 at 11:13:26AM +0200, Hennie Muller wrote:
> > Reindent multiline function calls to be tab aligned, instead of open brace
> > aligned. This fixes multiple "WARNING: line over 80 characters" generated
> > by
Hello guys,
I own a very old Logitech diNovo media set with Keyboard, Mouse MX1000
for Bluetooth and Mediapad.
Since 4.19.41 I was able to use it without problem, but kernel 4.19.42
introduced two patches which one of them problably broke my Bluetooth
setup support.
According to the changelog
On Sat, Jul 20, 2019 at 03:08:00AM -0700, syzbot wrote:
> syzbot has bisected this bug to:
>
> commit 7f466032dc9e5a61217f22ea34b2df932786bbfc
> Author: Jason Wang
> Date: Fri May 24 08:12:18 2019 +
>
> vhost: access vq metadata through kernel virtual address
>
> bisection log:
Reindent multiline function calls to be tab aligned, instead of open brace
aligned. This fixes multiple "WARNING: line over 80 characters" generated
by checkpatch.
Signed-off-by: Hennie Muller
---
drivers/staging/wlan-ng/cfg80211.c| 55 ++---
drivers/staging/wlan-ng/hfa384x_usb.c | 282
s/perpcu/percpu/
Signed-off-by: Christophe JAILLET
---
mm/percpu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/percpu.c b/mm/percpu.c
index 9821241fdede..febf7c7c888e 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -2220,7 +2220,7 @@ static void
On Sun, Jul 21, 2019 at 11:13:26AM +0200, Hennie Muller wrote:
> Reindent multiline function calls to be tab aligned, instead of open brace
> aligned. This fixes multiple "WARNING: line over 80 characters" generated
> by checkpatch.
>
> Signed-off-by: Hennie Muller
> ---
>
On Sat, 20 Jul 2019 23:16:47 +0530
Hariprasad Kelam wrote:
> Code is same if translate is true/false in case invalid packet is
> received.So remove else part.
>
> Issue identified with coccicheck
>
> Signed-off-by: Hariprasad Kelam
> ---
> drivers/net/wireless/ray_cs.c | 29
On Sun, Jul 21, 2019 at 5:45 AM Masahiro Yamada
wrote:
> On Sat, Jul 20, 2019 at 10:55 PM Arnd Bergmann wrote:
> > On Sat, Jul 20, 2019 at 5:26 AM Masahiro Yamada
> > wrote:
> > > So, what shall we do?
> > >
> > > Drop the board-file support? Or, keep it
> > > in case somebody is still using
This file is used by clangd to use language server protocol.
It can be generated at each compile using scripts/gen_compile_commands.py.
Therefore it is different depending on the environment and should be
ignored.
Signed-off-by: Toru Komatsu
---
.gitignore | 3 +++
1 file changed, 3
Reported-by: kbuild test robot
Signed-off-by: Ronald Tschalär
---
Changes in v2:
replaced min_t/max_t with plain min/max since both arguments are now
int's and don't need further casting
drivers/input/keyboard/applespi.c | 18 +++---
1 file changed, 11 insertions(+), 7
Hi Dmitry,
On Sun, Jul 21, 2019 at 10:24:27AM +0300, Dmitry Torokhov wrote:
> On Sun, Jul 21, 2019 at 12:06:29AM -0700, Ronald Tschalär wrote:
> > Reported-by: kbuild test robot
> > Signed-off-by: Ronald Tschalär
> > ---
> > drivers/input/keyboard/applespi.c | 18 +++---
> > 1
Hello,
syzbot found the following crash on:
HEAD commit:f1a3b43c Merge branch 'for-linus' of git://git.kernel.org/..
git tree: upstream
console output: https://syzkaller.appspot.com/x/log.txt?x=1456d34860
kernel config: https://syzkaller.appspot.com/x/.config?x=19dd7cf81d8c8469
On Fri, Jul 19, 2019 at 09:04:55AM -0700, Nathan Chancellor wrote:
> On Fri, Jul 19, 2019 at 10:23:03AM -0500, Segher Boessenkool wrote:
> > On Thu, Jul 18, 2019 at 08:24:56PM -0700, Nathan Chancellor wrote:
> > > On Mon, Jul 08, 2019 at 11:49:52PM -0700, Nathan Chancellor wrote:
> > > > On Tue,
On Sun, Jul 21, 2019 at 12:06:29AM -0700, Ronald Tschalär wrote:
> Reported-by: kbuild test robot
> Signed-off-by: Ronald Tschalär
> ---
> drivers/input/keyboard/applespi.c | 18 +++---
> 1 file changed, 11 insertions(+), 7 deletions(-)
>
> diff --git
Reported-by: kbuild test robot
Signed-off-by: Ronald Tschalär
---
drivers/input/keyboard/applespi.c | 18 +++---
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/drivers/input/keyboard/applespi.c
b/drivers/input/keyboard/applespi.c
index d5defdefbc34..00cd8dccd4f5
This allows errors during registration to properly fail the probe
function.
Doing this requires waiting for a response from the device inside the
probe function. While this generally takes about 15ms, in case of errors
it could be arbitrarily long, and hence a 3 second timeout is used.
This also
On Thu 2019-07-18 16:49:46, Turritopsis Dohrnii Teo En Ming wrote:
> Good morning from Singapore,
>
> Is Linux Kernel 5.2.1 able to support Intel Core i9-9980XE Extreme Edition or
> AMD Ryzen 9 3950X?
>
> Intel Core i9-9980XE Extreme Edition has 18 cores and 36 threads while AMD
> Ryzen 9
allocate_flower_entry does not check for allocation success, but tries
to deref the result. I only moved the spin_lock under null check, because
the caller is checking allocation's status at line 652.
Signed-off-by: Navid Emamdoost
---
drivers/net/ethernet/chelsio/cxgb4/cxgb4_tc_flower.c | 3
301 - 356 of 356 matches
Mail list logo