On Fri, 9 Aug 2024, Steven Rostedt wrote:
> On Fri, 9 Aug 2024 13:53:33 -0400 (EDT)
> John Kacur wrote:
>
>
> > > > Although your fix appears to be correct, I wonder if it would be better
> > > > to
> > > > create a second error
On Fri, 9 Aug 2024, Steven Rostedt wrote:
> On Fri, 9 Aug 2024 13:34:28 -0400 (EDT)
> John Kacur wrote:
>
> > On Fri, 9 Aug 2024, Dan Carpenter wrote:
> >
> > > If the "tool->data" allocation fails then there is no need to call
> > > osno
ic int stop_tracing;
> --
Although your fix appears to be correct, I wonder if it would be better to
create a second error label, such as out_destroy_tool: as described in
section 7 of the coding-style.rst
Thanks
John Kacur
ed, skip calculations, print zeroed
> statistics
> + * and return.
> + */
> + if (!has_samples) {
> + trace_seq_reset(trace->seq);
> + trace_seq_printf(trace->seq, "over: 0\ncount: 0\nmin: 0\navg:
> 0\nmax: 0\n");
> + trace_seq_do_printf(trace->seq);
> + trace_seq_reset(trace->seq);
> + return;
> + }
> +
> if (!params->no_index)
> trace_seq_printf(trace->seq, "over: ");
>
>
>
>
Reviewed-by: John Kacur
ports are always welcome!
Enjoy!
John Kacur
Anders Roxell (1):
Makefile: manpages: only add get_cyclictest_snapshot if PYLIB
Daniel Wagner (36):
cyclictest: Use numa library helpers in get_available_cpus()
cyclicdeadline: Streamline usage output and man page
cyclicdeadline: Add long co
Enjoy!
John Kacur
Clark Williams (1):
pi_stress: limit the number of inversion groups to the number of
online cores
Daniel Wagner (4):
rt-utils: Move timestamp calc helper to common header
rt-utils: Move time defininitions to common header
rt-utils: Move ARRAY_SIZE to common h
On Tue, 17 Sep 2019, Sultan Alsawaf wrote:
> On Mon, Sep 16, 2019 at 11:57:32PM +0200, John Kacur wrote:
> > Signed-off-by: John Kacur
> > But please in the future
> > 1. Don't cc lkml on this
> > 2. Include the maintainers in your patch
>
> Hi,
>
&
On Tue, 17 Sep 2019, Sebastian Andrzej Siewior wrote:
> On 2019-09-16 23:57:32 [+0200], John Kacur wrote:
> > Signed-off-by: John Kacur
>
> Hmmm. I remember this thing came up years ago in the Debian BTS and then
> that backfire module got removed from the Debian package b
gt; index aaf9c4a..a8ac9f5 100644
> --- a/src/backfire/backfire.c
> +++ b/src/backfire/backfire.c
> @@ -30,8 +30,8 @@
> #include
> #include
> #include
> +#include
>
> -#include
> #include
>
> #define BACKFIRE_MINOR MISC_DYNAMIC_MINOR
> --
> 2.23.
lways welcome.
John Kacur
Clone
git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
branches
Branches
unstable/devel/latest (rt-tests: Version 1.5)
unstable/devel/latest-devel (for latest development of Version 1.5)
tarballs are available here
https://kernel.org/pub/linux/utils/rt-tests
On Fri, 21 Jun 2019, David Runge wrote:
> Hi!
>
> On 2019-06-20 15:26:30 (+0200), John Kacur wrote:
> > We haven't had a release in a while as people were content to work
> > from git. However, in order to make it easier to use, test, and put
> > into distrib
reasonably well, but
I'm sure with everyone working the code we can flush out some bugs
and aim for a new stable branch.
So, have fun, and send in your patches and reports!
John Kacur
Clone
git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
branches
Branches
unstable/devel/latest (rt
On Mon, 15 Apr 2019, John Kacur wrote:
> This is a long standing but in trace-cmd.
>
> [root@pq6-0 tmp]# trace-cmd record -p function -e sched:* sleep 1
> plugin 'function'
> none
> trace-cmd: Invalid argument
> Failed filter of
> /sys/kernel/debug/traci
e could write something saner to the file
so that it takes longer to hit the limit.
Rewriting "common_pid" over and over again for example, is probably
unnecessary with some reworking.
John Kacur
Incoroporate ssdd into the rt-tests build
Signed-off-by: John Kacur
---
Makefile | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 06f399cc629d..16cd2f9bdd03 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ sources = cyclictest.c
/22876: EXITING, no error
forktest#9/22882: EXITING, no error
forktest#1/22873: EXITING, no error
All tests PASSED.
Signed-off-by: Joe Korty
Signed-off-by: John Kacur
---
src/ssdd/ssdd.c | 315
1 file changed, 315 insertions(+)
create mode 100644
Sebastian: I added the test from Joe Korty to rt-tests. Working on integrating
it into the build, but I wanted to make it available before that so you
could send me your patches.
Repo: git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git
Branch: unstable/devel/latest
Thanks
John Kacur
l.org/pub/scm/utils/rt-tests/rt-tests.git
https://kernel.googlesource.com/pub/scm/utils/rt-tests/rt-tests.git
Branch
unstable/devel/latest
Tar ball
https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git/snapshot/rt-tests-1.3.tar.gz
Enjoy!
John Kacur
t; in the write_file function
Signed-off-by: John Kacur
---
trace-snapshot.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/trace-snapshot.c b/trace-snapshot.c
index 9d3608c49563..771b065ccfa4 100644
--- a/trace-snapshot.c
+++ b/trace-snapshot.c
@@ -42,7 +42,8 @@ static void w
Commit-ID: 99e9d958726c04cec3e36902d8583fdd8cb5b1bb
Gitweb: http://git.kernel.org/tip/99e9d958726c04cec3e36902d8583fdd8cb5b1bb
Author: John Kacur
AuthorDate: Fri, 17 Jun 2016 15:05:15 +0200
Committer: Ingo Molnar
CommitDate: Sun, 10 Jul 2016 16:55:04 +0200
irq/Documentation: Correct
On Thu, 23 Jun 2016, Steven Rostedt wrote:
> On Thu, 23 Jun 2016 14:11:51 +0200
> John Kacur wrote:
>
>
> > index 9c50456f7419..f530488545e0 100644
> > --- a/src/sched_deadline/cyclicdeadline.c
> > +++ b/src/sched_deadline/cyclicdeadline.c
> > @@ -
Rethinking the naming scheme, so changing the development line from 2.0
to 1.1
Signed-off-by: John Kacur
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index a54d82bd8964..d60282e05931 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4
- Add cyclicdeadline and deadline_test to the Makefile
- Conditionally define _GNU_SOURCE in the new programs
- Add the new programs to the .gitignore file
Signed-off-by: John Kacur
---
.gitignore | 2 ++
Makefile| 11 ++-
src
Kacur
John Kacur (3):
rt-tests: Makefile, change version to 1.1
rt-tests: Add cyclicdeadline and deadline_test
rt-tests: Add cyclicdeadline and deadline_test to the Make system
.gitignore |2 +
Makefile| 13 +-
src/sched_deadline
Add cyclicdeadline and deadline_test - these are two programs written by
Steven Rostedet to test the functionality and performance of
SCHED_DEADLINE
Signed-off-by: John Kacur
---
src/sched_deadline/cyclicdeadline.c | 1267 +
src/sched_deadline/deadline_test.c | 2097
echo 5 > /proc/irq/10/smp_affinity
means only the first and third (not fourth) cpus can handle irqs
That is, cpu0 is the first cpu and cpu2 is the third cpu
Signed-off-by: John Kacur
---
Documentation/filesystems/proc.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --gi
x27;s probably a good
idea to discuss that with the list before you spend too much time on them. Of
course you can always maintain something on the side until you overwhelm us
with the worth of your new ideas!
Happy Hacking,
Cheers!
John Kacur
To fetch the latest version
Clone one of
ino
> --
Sorry, resending with a sane mailer
I don't see a better solution for now, so
adding Luiz Reviewed by
Signed-off-by: John Kacur
and pushed to devel
On Thu, 14 Apr 2016, Luiz Capitulino wrote:
> On Wed, 13 Apr 2016 15:37:00 -0500
> Clark Williams wrote:
>
> > John,
> >
> > I ran into issues with parsing cpu masks when trying to run this command:
> >
> > sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3
> >
> > I had previously booted a
On Wed, 13 Apr 2016, Clark Williams wrote:
> John,
>
> I ran into issues with parsing cpu masks when trying to run this command:
>
> sudo ./cyclictest -i100 -qmu -h 2000 -p95 -t1 -a3
>
> I had previously booted a 4-core system with these boot options:
>
> isolcpus=3 nohz_full=3 rcu_noc
anch which will beome 1.0 (unless we need a v0.99)
devel/v0.98
I'll create the development line for 2.0 once we freeze 1.0
Thanks for all your hardwork
Cheers!
John Kacur
Clark Williams (4):
Makefile: fixed dropped quote in help target text
hwlatdetect: handle hwlat_detector being builti
>From 33102b6423ba64798d91aee9de4ecb21189dd49e Mon Sep 17 00:00:00 2001
From: John Kacur
Date: Thu, 3 Dec 2015 23:29:05 +0100
Subject: [PATCH] trace-cmd: don't call free on tracing and path more than once
In version trace-cmd-stable-v2.2 it is possible to call free on
tracing and path m
>From 7935646fed739d2bd102f71766a2700a56d6258b Mon Sep 17 00:00:00 2001
From: John Kacur
Date: Wed, 18 Nov 2015 15:30:15 +0100
Subject: [PATCH] trace-cmd: Documentation, include *.5 files in .gitignore
Most trace-cmd man pages are *.1 but we have trace-cmd.dat.5 now
with the .5 ending. Add t
har *output = NULL;
> const char *option;
> struct event_list *event;
> - struct event_list *last_event;
> + struct event_list *last_event = NULL;
> struct tracecmd_event_list *list;
> struct buffer_instance *instance = &top_instance;
> enum
all to lib or lib64
Original patch from Jon Stanley found in Fedora git repo, modified to
omit extraneous parts and simplifiy it a bit.
Signed-off-by: John Kacur
---
Makefile | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index 507af59be
Android: rename arch from bionic to android
Android: Expand match for android in ostype
rt-sched.h: do not unconditionally define syscall-numbers
John Kacur (6):
cyclictest: Clean-ups in timerthread before working on it
Makefile: OBJDIR should be an order-only-prerequisite
Makefile: Mo
test: move redefine of CPUSET back to uclib
John Kacur (11):
Explicitly separate VPATH paths with a colon
build: Generate .o, .a, and .d files in bld dir
signaltest: call process_options before calling check_privs
signaltest: Check the status of pthread_create
rt-utils: Add John Kacur to the
build-switch to Makefile
Makefile: add librttest to rt-migrate-test
android: adjust target for android
John Kacur (3):
Fix VERSION in rt-migrate-test
numa_on_and_available: Remove from main in cyclictest
Version bump to v0.94
Josh Cartwright (8):
rt-tests: workaround poor gzip implementa
On Mon, 17 Aug 2015, Uwe Kleine-König wrote:
> Hello John,
>
> On Thu, Aug 13, 2015 at 05:20:26PM +0100, John Kacur wrote:
> > Clark Williams and I are pleased to announce a new rt-tests release.
> > Note we have a new git location,
> > make sure you update your r
bump to v0.93
John Kacur (6):
Fix warning: unused variable ‘c’
Fix possible exit on error without releasing mutex
Create a .gitattribute file to specify what files git-archive should
ignore
Add .tar files to .gitignore
Change VERSION_STRING to VERSION
Create an rt-tests.tar file
hed/core.c | 63
> ++---
> kernel/trace/Kconfig| 1 +
> lib/Kconfig.debug | 20
> 4 files changed, 82 insertions(+), 4 deletions(-)
> --
fwiw - I have found this feature useful in the past, and would love to
see it mainstream.
Thanks
John Kacur
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
The scsi_wait_scan_module was removed in linux-3.6 with
commit 6072609d9bb91ff54aee3ef29304bd5b4fc88aae
Remove the text referring to it under config SCSI_SCAN_ASYNC
Signed-off-by: John Kacur
---
drivers/scsi/Kconfig | 7 ---
1 file changed, 7 deletions(-)
diff --git a/drivers/scsi/Kconfig
- Original Message -
> * John Kacur | 2013-07-26 16:42:30 [+0200]:
>
> >Signed-off-by: John Kacur
> >Acked-by: Stephen
>
> ping.
>
> I checked the branches for-next, scsi-fixes, fixes and misc at [0] and I
> didn't see it. I'm going to
>From 4c01ac362210c38cdbaddd0a75c24c7070e77dfa Mon Sep 17 00:00:00 2001
From: John Kacur
Date: Fri, 26 Jul 2013 16:06:18 +0200
Subject: [PATCH] hpsa: fix warning with smp_processor_id() in preemptible
section Signed-off-by: John Kacur
On a 3.6-rt (real-time patch) kernel we are seeing
- Original Message -
> On Fri, Jul 26, 2013 at 06:28:02AM -0400, John Kacur wrote:
> >
> >
> > - Original Message -
> > > [Adding missing cc to linux-scsi]
> > > On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote:
> > > > Hi
- Original Message -
> [Adding missing cc to linux-scsi]
> On Thu, 2013-07-25 at 23:33 +0200, John Kacur wrote:
> > Hi
> >
> > We're seeing this on a 3.6 kernel with the real-time patch applied, but it
> > looks like it is relevant with the real-ti
smp_processor_id() % h->nreply_queues;
+ raw_smp_processor_id() % h->nreply_queues;
}
}
Thanks
John Kacur
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More ma
By adding the .gitattributes file, git-archive can be informed not to
includes files such as .gitignore and ironically .gitattributes
Signed-off-by: John Kacur
---
.gitattributes | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 .gitattributes
diff --git a/.gitattributes b
This will allow build scripts such as rpm to set libdir=lib64
Signed-off-by: John Kacur
---
Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 83329ca..d53cde3 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,7 @@ html_install = $(prefix
On Mon, 29 Apr 2013, Clark Williams wrote:
> On Mon, 29 Apr 2013 22:12:02 +0200
> Sebastian Andrzej Siewior wrote:
> > - suspend / resume seems to program program the timer wrong and wait
> > ages until it continues.
> >
>
> It has to be something we're doing when we apply RT to v3.
On Mon, Apr 8, 2013 at 8:30 PM, Sebastian Andrzej Siewior
wrote:
> * Paul Gortmaker | 2013-04-05 19:35:51 [-0400]:
>
>>Thanks for the work in putting this together. Just a heads up that the
>>split queue fails on a patch with no author/date/subject as follows:
>>
>>[...]
>>git am of percpu-rwsem-
On Tue, 2 Apr 2013, Carsten Emde wrote:
> Steven,
>
> > I'm pleased to announce the 3.6.11.1-rt32 stable release.
> Unfortunately, there is another compile error:
> drivers/gpu/drm/i915/i915_gem.c: In function ‘i915_gem_wait_for_error’:
> drivers/gpu/drm/i915/i915_gem.c:118:3: warning: passing
On Fri, Mar 1, 2013 at 1:01 PM, John Kacur wrote:
> On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote:
>> From: Yong Zhang
>>
>> Otherwise, below warning is shown somtimes when running some test:
>
> It would be nice to know which test!
> ->o SNIP
Luis p
On Fri, Mar 1, 2013 at 2:36 AM, Yong Zhang wrote:
> From: Yong Zhang
>
> Otherwise, below warning is shown somtimes when running some test:
It would be nice to know which test!
->o SNIP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to maj
On Wed, 13 Feb 2013, Thomas Gleixner wrote:
> On Wed, 13 Feb 2013, John Kacur wrote:
> >
> > Thanks Steven. That looks way better than the previous revert.
>
> I can't tell as I haven't seen the previous revert. And looks good is
> not really a good review
On Thu, 13 Dec 2012, Steven Rostedt wrote:
> I didn't get a chance to test the latest IPI patch series on the 40 core
> box, and only had my 4 way box to test on. But I was able to test it
> last night and found some issues.
>
> The RT_PUSH_IPI doesn't get automatically set because just doing t
On Wed, 13 Feb 2013, Steven Rostedt wrote:
> We hit the following bug with 3.6-rt:
>
> [5.898990] BUG: scheduling while atomic: swapper/3/0/0x0002
> [5.898991] no locks held by swapper/3/0.
> [5.898993] Modules linked in:
> [5.898996] Pid: 0, comm: swapper/3 Not tainted
igned-off-by: John Kacur
---
arch/x86/include/asm/traps.h | 25 +
arch/x86/kernel/irqinit.c|2 +-
arch/x86/kernel/traps.c | 120 ++---
3 files changed, 90 insertions(+), 57 deletions(-)
diff --git a/arch/x86/include/asm/traps.h b/arc
Signed-off-by: John Kacur
diff --git a/arch/x86/include/asm/traps.h b/arch/x86/include/asm/traps.h
index 0012d09..88eae2a 100644
--- a/arch/x86/include/asm/traps.h
+++ b/arch/x86/include/asm/traps.h
@@ -89,4 +89,29 @@ asmlinkage void smp_thermal_interrupt(void);
asmlinkage void mce_threshold
Hello
Our test systems are getting the following type of BUGs on v3.6.11-rt25 kernels
Test 1:
BUG: unable to handle kernel NULL pointer dereference at (null)
IP: [] kmem_cache_alloc_node+0x51/0x180
PGD a2d39067 PUD b1641067 PMD 0
Oops: [#1] PREEMPT SMP
Modules linked in: sunrpc cp
On Mon, Nov 5, 2012 at 2:59 AM, Luming Yu wrote:
>
> This patch is the first step to test some basic hardware functions like
> TSC to help people understand if there is any hardware latency as well
> as throughput problem exposed on bare metal or left behind by BIOS or
> interfered by SMI. Current
On Fri, 2005-03-18 at 13:49, Jean Delvare wrote:
> Hi Greg,
>
> > When you guys go on these "make needlessly global code static" kicks
> > you should maybe consider that even functions that aren't currently
> > used by any other area of the tree might be useful for module writers.
> >
> > Instead
quot;--extra=+f" to
the ctags line. Here's a much smarter patch that works by first
querrying if ctags is exuberant, and if so, whether the --extra
functionality is available before adding the line. Please apply.
Signed-off-by: John Kacur [EMAIL PROTECTED]
--- Makefile.orig 2005-03-08
On Sat, 2005-03-05 at 11:45, Jim Nelson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Russell King wrote:
> | On Sat, Mar 05, 2005 at 10:48:00AM -0500, Gene Heskett wrote:
> |
> |>What are the options normally used to generate a diff for public
> |>consumption on this list?
> |
> |
: portmap startup succeeded
Greg Rollins wrote:
>
> John Kacur wrote:
>
> > Hi
> >
> > With Kernel 2.4.6, when I compile the Tulip driver as a module, I don't
> > have network connectivity. I can ping myself, and netstat -rn gives the
> > same table
who wants to try
to figure this one out, just ask me what you need to know.
Thanks
John Kacur
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majord
problem running with more than one cpu?
John Kacur
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
mike wrote:
>
> Hi, im not sure if im emailing the right place but its a start. I just
> setup kernel 2.4.0 and well it doesnt boot.
>
> it says " ok booting the kernel" then nothing happens on the screen, and
> I hear no activity from the computer. I tried it several times following
> the
> i
nyone know what the trick is here to
accomplish this?
Thanks in advance
John Kacur
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
* [vmlinux] Error 1
John Kacur
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
you
don't need to invest any extra dollars. Learn to use ctags or etags and
you can quickly find a type with vi or emacs.
John Kacur
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/
stem is updated.
The reason I'm trying to understand this, is that I want to profile
processes (aka threads) for our jit compiler.
Thanks in advance
John Kacur
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
t
Does anyone know how to get thread context?
Ie, can I look at the register state of a non-running process or thread
from user space?
Or if I want to experiement with this do I need to write my own system
call?
Any ideas on this would be greatly appreciated.
Thanks
John Kacur
[EMAIL PROTECTED
73 matches
Mail list logo