Displaying 20 results from an estimated 21 matches for "dscript".
Did you mean:
script
2006 Feb 08
1
Dscript for knowing the I/O processes going on in Solaris10
Hi,
I have an JAVA application using JNI calls which links to native libraries.When i run this application for around 4hrs i am getting a java.io.IOException "Not enough space".
No memory leaks in JAVA as my JProbe reports are fine.
I came across DTrace which help us to know what internally is happening in the Solaris10 machine as I doubt my system configuration for the above
2007 Jan 26
0
Branch 'interpreter' - 9 commits - libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_debugger.c libswfdec/swfdec_debugger.h libswfdec/swfdec_edittext_movie.c libswfdec/swfdec_event.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c
...53,16 @@ swfdec_debugger_new (void)
}
void
-swfdec_debugger_add_script (SwfdecDebugger *debugger, JSScript *jscript, const char *name,
- SwfdecDebuggerCommand *commands, guint n_commands)
+swfdec_debugger_add_script (SwfdecDebugger *debugger, SwfdecScript *script)
{
- SwfdecDebuggerScript *dscript = swfdec_debugger_script_new (jscript, name, commands, n_commands);
+ SwfdecDebuggerScript *dscript = swfdec_debugger_script_new (script);
- g_hash_table_insert (debugger->scripts, jscript, dscript);
+ g_hash_table_insert (debugger->scripts, script, dscript);
g_signal_emit (debugger,...
2008 May 20
6
Dtrace queries - predicates & func arg tracing
[1] Predicates in one-liners
I would like to list the probe modules in my executable and then
dynamically create a dscript to trace execution of those modules alone
(by excluding the 3rd party and system libraries). I tried the below
script without success. The conditional given in the predicate is not
taking effect. Why is this so ?
$ dtrace -ln ''pid$target::: /probemod!="libc.so.1"/ { printf("...
2008 Nov 12
2
hotuser in multicore system
Incase of multi-core systems where multiple threads maybe scheduled
for execution, does the below dscript (from hotuser in DTraceToolkit)
collect information for multiple libraries/functions that would be
getting executed at a given point of time. I have been able to test it
to check if it does or doesn''t. I assume it does.
This was a query I have about profiling in general.
#pragma D optio...
2008 Oct 21
5
Why could I get function names from a stripped exec?
Hello, all experts.
When I use pid provider, my Dscript with -F option output the codepath with flowindent as you know,
e.g.
-> main
-> f1
-> f2
however I realized that the exec file I used at that time was stripped.
Does anyone know the reason why I could see the function names?
Thanks in advance.
--
This message posted from o...
2009 Jan 23
1
ZIL FOID
I need some clarification on the FOID handed to zil_commit. I wrote a dscript to watch entry and return of zil_commit_writer. Here is an example output:
<pre>
2009 Jan 23 23:34:36: ZIL Commit : Seq 183211310 : FOID 129644 Completed in 0 ms
2009 Jan 23 23:34:36: ZIL Commit : Seq 183211324 : FOID 129644 Completed in 0 ms
2009 Jan 23 23:34:36: ZIL...
2005 Oct 11
7
dtrace: failed to initialize dtrace: DTrace device not available on system
I have a number of systems running solaris10 and i see the package and binary for dtrace installed however whenever we try to run anything we get this error
dtrace: failed to initialize dtrace: DTrace device not available on system
the only system in which i dont have this error is the development server that has the full solaris 10 install while others are minimized, do i need additional
2007 Apr 04
0
Branch 'as' - 17 commits - configure.ac doc/Makefile.am doc/swfdec-docs.sgml doc/swfdec-sections.txt doc/swfdec.types libswfdec-gtk/Makefile.am libswfdec-gtk/swfdec-gtk.h libswfdec-gtk/swfdec_gtk_loader.c libswfdec-gtk/swfdec_gtk_loader.h
..., guint id)
{
@@ -345,22 +343,7 @@ swfdec_debugger_do_breakpoint (SwfdecDeb
g_object_freeze_notify (G_OBJECT (debugger));
}
-
-static JSTrapStatus
-swfdec_debugger_interrupt_cb (JSContext *cx, JSScript *script,
- jsbytecode *pc, jsval *rval, void *debugger)
-{
- SwfdecDebuggerScript *dscript;
- guint line;
- if (!swfdec_debugger_get_current (debugger, &dscript, &line))
- return JSTRAP_CONTINUE;
- if (dscript->commands[line].breakpoint) {
- swfdec_debugger_do_breakpoint (debugger, dscript->commands[line].breakpoint);
- } else if (SWFDEC_DEBUGGER (debugger)->s...
2007 Aug 30
6
Capture of loopback interface messages
Hi,
I am new to DTrace.
Want to capture (for specific port #s) the loopback interface (lo0) tcp message flow with the complete message body.
Is this possible with DTrace?
Are any examples available?
Thanks,
Joe
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
2007 Feb 19
0
22 commits - libswfdec/js libswfdec/swfdec_debugger.c libswfdec/swfdec_js.c libswfdec/swfdec_js_global.c libswfdec/swfdec_js_movie.c libswfdec/swfdec_movie.c libswfdec/swfdec_player.c libswfdec/swfdec_player_internal.h libswfdec/swfdec_script.c
...a/player/swfdec_debug_script.c b/player/swfdec_debug_script.c
index 83e61c9..ccf6a3b 100644
--- a/player/swfdec_debug_script.c
+++ b/player/swfdec_debug_script.c
@@ -205,6 +205,8 @@ swfdec_debug_script_set_script (SwfdecDe
if (debug->debugger == NULL)
return;
+ if (debug->script == dscript)
+ return;
debug->script = dscript;
if (dscript) {
swfdec_debug_script_set_model (debug);
diff-tree 52e6b97641109e79877c007d6da16f7e5d5271b1 (from 7bd0f8a278aeb516f76ecdfb6297debd6fb736ab)
Author: Benjamin Otte <otte@gnome.org>
Date: Sat Feb 17 20:19:24 2007 +0100
chec...
2007 Feb 12
17
NFS/ZFS performance problems - txg_wait_open() deadlocks?
Hi.
System is snv_56 sun4u sparc SUNW,Sun-Fire-V440, zil_disable=1
We see many operation on nfs clients to that server really slow (like 90 seconds for unlink()).
It''s not a problem with network, there''s also plenty oc CPU available.
Storage isn''t saturated either.
First strange thing - normally on that server nfsd has about 1500-2500 number of threads.
I did
2019 Nov 22
0
[PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
...@ -787,18 +788,10 @@ endif HAVE_PERL
if HAVE_PYTHON
TESTS += \
+ test-python.py \
test-python-exception.sh \
test-shebang-python.sh \
$(NULL)
-LIBGUESTFS_TESTS += test-python
-
-test_python_SOURCES = test-lang-plugins.c test.h
-test_python_CFLAGS = \
- -DLANG='"python"' -DSCRIPT='"$(srcdir)/test.py"' \
- $(WARNINGS_CFLAGS) \
- $(LIBGUESTFS_CFLAGS) \
- $(NULL)
-test_python_LDADD = libtest.la $(LIBGUESTFS_LIBS)
endif HAVE_PYTHON
diff --git a/tests/test-python-plugin.py b/tests/test-python-plugin.py
new file mode 100644
index 0000000..053a380
--- /dev/n...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...53,16 @@ swfdec_debugger_new (void)
}
void
-swfdec_debugger_add_script (SwfdecDebugger *debugger, JSScript *jscript, const char *name,
- SwfdecDebuggerCommand *commands, guint n_commands)
+swfdec_debugger_add_script (SwfdecDebugger *debugger, SwfdecScript *script)
{
- SwfdecDebuggerScript *dscript = swfdec_debugger_script_new (jscript, name, commands, n_commands);
+ SwfdecDebuggerScript *dscript = swfdec_debugger_script_new (script);
- g_hash_table_insert (debugger->scripts, jscript, dscript);
+ g_hash_table_insert (debugger->scripts, script, dscript);
g_signal_emit (debugger,...
2019 Nov 22
3
Re: [PATCH nbdkit v2 10/10] tests: Test the Python plugin thoroughly.
...test-python.py \
> test-python-exception.sh \
> test-shebang-python.sh \
> $(NULL)
> -LIBGUESTFS_TESTS += test-python
> -
> -test_python_SOURCES = test-lang-plugins.c test.h
> -test_python_CFLAGS = \
> - -DLANG='"python"' -DSCRIPT='"$(srcdir)/test.py"' \
> - $(WARNINGS_CFLAGS) \
> - $(LIBGUESTFS_CFLAGS) \
> - $(NULL)
> -test_python_LDADD = libtest.la $(LIBGUESTFS_LIBS)
>
> endif HAVE_PYTHON
>
> diff --git a/tests/test-python-plugin.py b/tests/test-python-plugin.py...
2007 Aug 29
0
15 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_initialize.as libswfdec/swfdec_initialize.h libswfdec/swfdec_movie.c libswfdec/swfdec_movie.h libswfdec/swfdec_sprite.c libswfdec/swfdec_sprite_movie.c libswfdec/swfdec_system_as.c
...(widget, !swfdec_player_manager_get_interrupted (manager));
-}
-
-static void
-select_scripts (GtkTreeSelection *select, SwfdecDebugScript *script)
-{
- GtkTreeModel *model;
- GtkTreeIter iter;
-
- if (gtk_tree_selection_get_selected (select, &model, &iter)) {
- SwfdecDebuggerScript *dscript;
- gtk_tree_model_get (model, &iter, 0, &dscript, -1);
- swfdec_debug_script_set_script (script, dscript);
- } else {
- swfdec_debug_script_set_script (script, NULL);
- }
-}
-
-static void
-toggle_play_cb (SwfdecPlayerManager *manager, GParamSpec *pspec, GtkToggleButton *button)...
2019 Nov 22
18
[PATCH nbdkit v2 00/10] Implement nbdkit API v2 for Python plugins.
v1:
https://www.redhat.com/archives/libguestfs/2019-November/msg00153.html
v2:
- Fix implementation of can_cache.
- Add implementation of can_fua.
- Add a very thorough test suite which tests every command + flag
combination.
2018 Jul 01
2
[PATCH nbdkit] Add Tcl plugin, for writing plugins in Tcl.
...ts/Makefile.am
+++ b/tests/Makefile.am
@@ -461,6 +461,19 @@ test_ruby_LDADD = libtest.la $(LIBGUESTFS_LIBS)
endif HAVE_RUBY
+# Tcl plugin test.
+if HAVE_TCL
+
+LIBGUESTFS_TESTS += test-tcl
+
+test_tcl_SOURCES = test-lang-plugins.c test.h
+test_tcl_CFLAGS = \
+ -DLANG='"tcl"' -DSCRIPT='"test.tcl"' \
+ $(WARNINGS_CFLAGS) $(LIBGUESTFS_CFLAGS)
+test_tcl_LDADD = libtest.la $(LIBGUESTFS_LIBS)
+
+endif HAVE_TCL
+
#----------------------------------------------------------------------
# Tests of filters.
diff --git a/tests/test-dump-plugin.sh b/tests/test-dump-plu...
2019 Nov 25
7
[PATCH nbdkit v2 0/7] Implement nbdkit API v2 for Python plugins.
v3 was here:
https://www.redhat.com/archives/libguestfs/2019-November/msg00209.html
In v4:
- Rebase on top of current master. Includes various fixes and
updates required because of Nir's patches that went into master.
- Fix api_version() -> API_VERSION in patch 2 noted previously on the
mailing list.
Rich.
2019 Nov 23
8
[PATCH nbdkit v3 0/7] Implement nbdkit API v2 for Python plugins.
v2 was here:
https://www.redhat.com/archives/libguestfs/2019-November/msg00163.html
I pushed patch 1 (with spelling fix), patch 4 and patch 5 since those
were previously ACKed on the list.
Differences in v3:
- Add error checking to PyModule_AddIntConstant.
- Use API_VERSION constant instead of function.
- Add max API version supported to --dump-plugin output.
- Print API_VERSION selected by
2020 Aug 19
3
[libnbd PATCH 0/2] NBD_OPT_INFO support
This replaces 13/13 of my v2 series; and now that it has pretty good
testsuite coverage and demonstrable performance improvement to
nbdinfo, I'm going ahead and pushing this now. We may still want to
add further nbd_opt_* commands for other fine-grained tuning of
negotiation, but for now, I think things have stabilized on this end,
and I can return to polishing .list_exports on the nbdkit