From: Stan Cox <scox@redhat.com>
To: Mark Wielaard <mjw@redhat.com>
Cc: systemtap@sourceware.org
Subject: Re: probing a plt
Date: Wed, 07 Sep 2011 16:12:00 -0000 [thread overview]
Message-ID: <4E6798BF.6080900@redhat.com> (raw)
In-Reply-To: <1315392119.21634.1.camel@springer.wildebeest.org>
[-- Attachment #1: Type: text/plain, Size: 62 bytes --]
This should show the behavior:
12215.sh stap
12215.sh gdb
[-- Attachment #2: 12215.c --]
[-- Type: text/x-csrc, Size: 398 bytes --]
#include <stdio.h>
#include <string.h>
#include <sys/time.h>
main ()
{
char *abc = "abcdefghijklmnopqrstuvwxyz";
char *xyz = "zyxwvutsrqpomnlkjihgfedcba";
int x;
struct timeval tp;
struct timezone tzp;
gettimeofday (&tp, &tzp);
printf ("length %d %s %d%d\n", strlen(abc), abc, tp.tv_sec, tp.tv_usec);
printf ("length %d %s\n", strlen(xyz), xyz);
puts ("a string");
return 0;
}
[-- Attachment #3: 12215.sh --]
[-- Type: application/x-shellscript, Size: 1421 bytes --]
next prev parent reply other threads:[~2011-09-07 16:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-02 18:31 Stan Cox
2011-09-02 21:21 ` Frank Ch. Eigler
2011-09-09 17:59 ` Stan Cox
2011-09-06 21:58 ` Stan Cox
2011-09-07 10:42 ` Mark Wielaard
2011-09-07 16:12 ` Stan Cox [this message]
2011-09-07 20:09 ` Mark Wielaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4E6798BF.6080900@redhat.com \
--to=scox@redhat.com \
--cc=mjw@redhat.com \
--cc=systemtap@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).